UNPKG

1.46 kBJavaScriptView Raw
1'use client';
2
3import _extends from "@babel/runtime/helpers/esm/extends";
4import * as React from 'react';
5import PropTypes from 'prop-types';
6import { GlobalStyles as SystemGlobalStyles } from '@mui/system';
7import defaultTheme from '../styles/defaultTheme';
8import THEME_ID from '../styles/identifier';
9import { jsx as _jsx } from "react/jsx-runtime";
10function GlobalStyles(props) {
11 return /*#__PURE__*/_jsx(SystemGlobalStyles, _extends({}, 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