UNPKG

framer-motion

Version:

A simple and powerful JavaScript animation library

13 lines (10 loc) 454 B
import { transformProps } from 'motion-dom'; import { scaleCorrectors } from '../../projection/styles/scale-correction.mjs'; function isForcedMotionValue(key, { layout, layoutId }) { return (transformProps.has(key) || key.startsWith("origin") || ((layout || layoutId !== undefined) && (!!scaleCorrectors[key] || key === "opacity"))); } export { isForcedMotionValue }; //# sourceMappingURL=is-forced-motion-value.mjs.map