Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VelocityTransitionGroup component={'div'} enter={{
- animation: {
- opacity: 1
- },
- duration: 400,
- delay: 600
- }} leave={{
- animation: {
- opacity: 0
- },
- style: {
- position: 'absolute',
- display: 'block',
- width: '100%',
- height: 'auto',
- overflow: 'hidden',
- left: 0,
- zIndex: 1
- },
- duration: 400
- }} runOnMount={true}>
- {elementToAnimate}
- </VelocityTransitionGroup>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement