UNPKG

1.4 kBJavaScriptView Raw
1'use client';
2
3import * as React from 'react';
4import PropTypes from 'prop-types';
5import { GlobalStyles as SystemGlobalStyles } from '@mui/system';
6import defaultTheme from "../styles/defaultTheme.js";
7import THEME_ID from "../styles/identifier.js";
8import { jsx as _jsx } from "react/jsx-runtime";
9function GlobalStyles(props) {
10 return /*#__PURE__*/_jsx(SystemGlobalStyles, {
11 ...props,
12 defaultTheme: defaultTheme,
13 themeId: THEME_ID
14 });
15}
16process.env.NODE_ENV !== "production" ? GlobalStyles.propTypes /* remove-proptypes */ = {
17 // ┌────────────────────────────── Warning ──────────────────────────────┐
18 // │ These PropTypes are generated from the TypeScript type definitions. │
19 // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
20 // └─────────────────────────────────────────────────────────────────────┘
21 /**
22 * The styles you want to apply globally.
23 */
24 styles: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.array, PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.string, PropTypes.bool])
25} : void 0;
26export default GlobalStyles;
\No newline at end of file