motion-one-react
v1.1.1
Published
A react wrapper component for the motion one animaion library
Downloads
8
Maintainers
Readme
Motion One React Component
A declarative react component for the Motion One animaion library.
How to use
Use it as a React Component.
import { spring } from 'motion';
<MotionOne
animation={{
x: 200,
}}
transition={{
duration: 1,
easing: spring(),
}}
>
<p>This child has an animation</p>
</MotionOne>