1.3.0 • Published 5 years ago
animatedcomponent v1.3.0
AnimatedComponent is a react component that performs varaint animations when the element comes into view. AnimatedComponent use framer-motion libray and react-intersection-observer together.
To use:
import Example from "animatedcomponent"
//create a varaint const exampleVariant = { hide: { scale: 0 }, show: { scale: 1 } }
This is an example