Blame view

天文台pc/tianwentai-ui/node_modules/framer-motion/dist/es/motion/utils/is-motion-component.mjs 355 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
  import { motionComponentSymbol } from './symbol.mjs';
  
  /**
   * Checks if a component is a `motion` component.
   */
  function isMotionComponent(component) {
      return (component !== null &&
          typeof component === "object" &&
          motionComponentSymbol in component);
  }
  
  export { isMotionComponent };
  //# sourceMappingURL=is-motion-component.mjs.map