Blame view

天文台pc/tianwentai-ui/node_modules/@mui/system/esm/Box/Box.js 1.44 KB
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  'use client';
  
  import PropTypes from 'prop-types';
  import ClassNameGenerator from '@mui/utils/ClassNameGenerator';
  import createBox from "../createBox/index.js";
  import boxClasses from "./boxClasses.js";
  const Box = createBox({
    defaultClassName: boxClasses.root,
    generateClassName: ClassNameGenerator.generate
  });
  process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
    // ┌────────────────────────────── Warning ──────────────────────────────┐
    // │ These PropTypes are generated from the TypeScript type definitions. │
    // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
    // └─────────────────────────────────────────────────────────────────────┘
    /**
     * @ignore
     */
    children: PropTypes.node,
    /**
     * The component used for the root node.
     * Either a string to use a HTML element or a component.
     */
    component: PropTypes.elementType,
    /**
     * The system prop that allows defining system overrides as well as additional CSS styles.
     */
    sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
  } : void 0;
  export default Box;