first commit
This commit is contained in:
8
node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs
generated
vendored
Normal file
8
node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user