Files
Housekeeping-web-admin/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs
T
2026-06-24 09:48:54 +02:00

9 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 };