Repozytorium Web Developera

React animations

react-motion library


import {Motion, spring} from 'react-motion'
// In your render...
<Motion defaultStyle={{x: 0}} style={{x: spring(10)}}>
  {value => <div>{value.x}</div>}
</Motion>