framer-motion
Version:
A simple and powerful JavaScript animation library
10 lines (7 loc) • 372 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 };
//# sourceMappingURL=resolve-dynamic-variants.mjs.map