0.2.3 ⢠Published 6 years ago
react-tension v0.2.3
Reveal elments smoothly on scroll with sophisticated tension-animation provided by react-spring.
š Have a look at the example!
This Project is under development. Please join and contribute!
Beware: Until version 1.0.0 the API can and does change (constantly). Any (breaking-)changes are expressed in minor-updates and will be noted in the docs immediatedly.
Install
Install all dependencies via Yarn or NPM.
yarn add react-tension react-spring react react-dom
TransitionProvider
List of props:
Name | Type | Default | Description |
---|---|---|---|
ScrolledChild | React Element | null | required. Child, that gets normally scrolled. |
AnimatedChild | React Element | null | required. Child, that gets animated |
Contributing
Every contribution is very much appreciated.
š If you like react-tension, don't hesitate to star it on GitHub.
License
MIT Ā© AndreasFaust