ICT30016-Assignment-3/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs
dlawler489 a79a6afd34 intial
intial
2025-09-16 12:09:52 +10:00

8 lines
318 B
JavaScript

import { resolveVariantFromProps } from './resolve-variants.mjs';
function resolveVariant(visualElement, definition, custom) {
const props = visualElement.getProps();
return resolveVariantFromProps(props, definition, custom !== undefined ? custom : props.custom, visualElement);
}
export { resolveVariant };