Skip to content

Instantly share code, notes, and snippets.

@Ekwuno

Ekwuno/end.js Secret

Created March 6, 2019 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ekwuno/c965ac387a1ec0bab243debe1c3ca76e to your computer and use it in GitHub Desktop.
Save Ekwuno/c965ac387a1ec0bab243debe1c3ca76e to your computer and use it in GitHub Desktop.
<CSSTransition
in={this.state.showList}
timeout={400}
classNames="list-transition"
unmountOnExit
classNames={{
enter: classes.listTransitionEnter,
enterActive:classes.listTransitionEnterActive,
exit: classes.listTransitionExit,
exitActive:classes.listTransitionExitActive,
}}
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment