Add presets

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, react
Domain
frontend

Research direction

Start by reading the Gallery component and its CSS options to understand how layouts are currently customized. Determine which common layouts should become presets and how a preset prop such as preset="fade" would be specified. Done means the agreed presets can be selected through the main Gallery component without requiring users to understand its CSS options.

Written by the indexing model from the issue text.

Description

enhancement
The issue

Developers should not necessarily have to have a deep understanding of the Gallery component's CSS options in order to customize it.

Solution

Let's make some presets for common layouts we use. Pass them as a prop to the main <Gallery>, maybe? Something like <Gallery preset="fade" />.

Dominant language
JavaScript
Stars
4
Forks
1
Avg merge
2h 45m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wethegit/react-gallery

All issues in wethegit/react-gallery

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.