Allow the react component animation duration to be configurable
- Dominant language
- JavaScript
- Stars
- 178
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the animation duration in our react component is set at `200ms`. This is hardcoded. It would be great if the duration could be broken out into a property that could be customized by the user.
- Add a property for `animation in length` and `animation out length`
- Give them a default value of `200ms` by adding to the property default values [here](https://github.com/1egoman/funnies/blob/master/src/react.js#L96).
Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue points to src/react.js line 96 where default property values are set. Look for the component definition and the existing animation logic. Add new props like `animationInLength` and `animationOutLength` with defaults of '200ms'. Verify the change by running any existing examples or tests to see the animations work with the new props.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100