0.5.2 • Published 1 year ago
earthtoday-react-motion v0.5.2
React-Motion
import {Motion, spring} from 'earthtoday-react-motion';
// In your render...
<Motion defaultStyle={{x: 0}} style={{x: spring(10)}}>
{value => <div>{value.x}</div>}
</Motion>
Install
- Npm:
npm install --save earthtoday-react-motion
0.5.2
1 year ago