Skip to content

Commit 15445f0

Browse files
committed
update duration default to 450
1 parent 85c2533 commit 15445f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ ReactDom.render(<QueueAnim>
6363
| type | string / array | `right` | Animation Styles <br/>`left` `right` `top` `bottom` `scale` `scaleBig` `scaleX` `scaleY`|
6464
| animConfig | object / array | null | Custom Velocity config, like `{opacity:[1, 0], translateY:[0, -30]}`, [velocity config](http://julian.com/research/velocity) |
6565
| delay | number / array | 0 | delay of animation |
66-
| duration | number / array | 500 | duration of animation |
66+
| duration | number / array | 450 | duration of animation |
6767
| interval | number / array | 100 | interval of duration |
6868
| leaveReverse | boolean | false | reverse animation order at leave |
6969
| ease | string / array | `easeOutQuart` | animation easing string, [more](http://julian.com/research/velocity/#easing) |

src/QueueAnim.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ QueueAnim.propTypes = {
385385
QueueAnim.defaultProps = {
386386
component: 'div',
387387
interval: 100,
388-
duration: 500,
388+
duration: 450,
389389
delay: 0,
390390
type: 'right',
391391
animConfig: null,

0 commit comments

Comments
 (0)