UNPKG

framer-motion

Version:

A simple and powerful JavaScript animation library

11 lines (8 loc) 300 B
"use client"; import { useConstant } from '../../utils/use-constant.mjs'; import { WillChangeMotionValue } from './WillChangeMotionValue.mjs'; function useWillChange() { return useConstant(() => new WillChangeMotionValue("auto")); } export { useWillChange }; //# sourceMappingURL=index.mjs.map