Blame view

天文台pc/tianwentai-ui/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs 372 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
  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