Skip to content

Commit

Permalink
docs: fix Transition example to avoid delay
Browse files Browse the repository at this point in the history
  • Loading branch information
silvenon committed Apr 14, 2019
1 parent fc030bd commit 7eff7b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Transition.js
Expand Up @@ -44,8 +44,10 @@ export const EXITING = 'exiting'
* }
*
* const transitionStyles = {
* entering: { opacity: 0 },
* entering: { opacity: 1 },
* entered: { opacity: 1 },
* exiting: { opacity: 0 },
* exited: { opacity: 0 },
* };
*
* const Fade = ({ in: inProp }) => (
Expand Down

0 comments on commit 7eff7b2

Please sign in to comment.