Created
September 11, 2015 05:39
-
-
Save markdalgleish/fab73ca3ace3b9ab6077 to your computer and use it in GitHub Desktop.
CSS Modules + ReactCSSTransitionGroup in React 0.14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import transitions from './transitions.css'; | |
export default () => ( | |
<ReactCSSTransitionGroup transitionName={transitions}> | |
{ ... } | |
</ReactCSSTransitionGroup> | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.enter { ... } | |
.enterActive { ... } | |
.leave { ... } | |
.leaveActive { ... } | |
.appear { ... } | |
.appearActive { ... } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@markdalgleish, the leave transition is not working for me for some reason !! Can you help me with that?
here is my code:
the css for this: