Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. <VelocityTransitionGroup component={'div'} enter={{
  2. animation: {
  3. opacity: 1
  4. },
  5. duration: 400,
  6. delay: 600
  7. }} leave={{
  8. animation: {
  9. opacity: 0
  10. },
  11. style: {
  12. position: 'absolute',
  13. display: 'block',
  14. width: '100%',
  15. height: 'auto',
  16. overflow: 'hidden',
  17. left: 0,
  18. zIndex: 1
  19. },
  20. duration: 400
  21. }} runOnMount={true}>
  22. {elementToAnimate}
  23. </VelocityTransitionGroup>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement