Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js 1.33 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
  'use client';
  
  import PropTypes from 'prop-types';
  import { GlobalStyles as SystemGlobalStyles } from '@mui/system';
  import defaultTheme from "../styles/defaultTheme.js";
  import THEME_ID from "../styles/identifier.js";
  import { jsx as _jsx } from "react/jsx-runtime";
  function GlobalStyles(props) {
    return /*#__PURE__*/_jsx(SystemGlobalStyles, {
      ...props,
      defaultTheme: defaultTheme,
      themeId: THEME_ID
    });
  }
  process.env.NODE_ENV !== "production" ? GlobalStyles.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`.     │
    // └─────────────────────────────────────────────────────────────────────┘
    /**
     * The styles you want to apply globally.
     */
    styles: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.array, PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.string, PropTypes.bool])
  } : void 0;
  export default GlobalStyles;