motion
This component was wrapped to support older browsers because the default motion
of framer-motion
does not support them such as Internet Explorer.
The usage is the same as the default motion.
Originally, the motion
component uses a Polyfillable API called Proxy
, so it cannot run in older browsers.
Use the motion
component of @toss/frame-motion
to support a wider range of devices.
Examples
import { motion } from '@toss/framer-motion';
<motion.div {...} />