VelocityTransitionGroup
This is a replacement for React's ReactCSSTransitionGroup
addon that uses velocity.js for animations instead of CSS.
Warning
Many other libraries have popped up since this one that accomplish the same thing and more.
I'd recommend looking at velocity-react before using this. It is likely more up to date with the latest React, and includes other components and features that make working with Velocity in React much easier.
Installation:
npm install velocity-transition-group
Simple Example:
; let overlayStyles = backgroundColor: '#000' position: 'fixed' top: 0 right: 0 bottom: 0 left: 0; let OverlayComponent = React;
Based heavily on @tkafka's react-VelocityTransitionGroup