UNPKG

framer-motion

Version:

A simple and powerful JavaScript animation library

9 lines (6 loc) 251 B
import { useConstant } from '../../utils/use-constant.mjs'; import { WillChangeMotionValue } from './WillChangeMotionValue.mjs'; function useWillChange() { return useConstant(() => new WillChangeMotionValue("auto")); } export { useWillChange };