Skip to content

Commit eef02f0

Browse files
author
Chris Johnson
committed
fix(timeouts): Set default props to be more sensible
Using timeout of 0 makes the animation statuses cycle too quickly. Updating to 500. Also changing timing fn to ease
1 parent eeaf451 commit eef02f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utilities.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ export const getInlineStyles = ({ style = {}, ...props } = {}) => ({
88
export const defaultAnimationProps = {
99
appear: true,
1010
duration: '500ms',
11-
timeout: 0,
12-
timingFn: 'linear',
11+
timeout: 500,
12+
timingFn: 'ease',
1313
};

0 commit comments

Comments
 (0)