UNPKG

@mui/material

Version:

Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

29 lines (26 loc) 1.11 kB
import _extends from "@babel/runtime/helpers/esm/extends"; import * as React from 'react'; import PropTypes from 'prop-types'; import { GlobalStyles as SystemGlobalStyles } from '@mui/system'; import defaultTheme from '../styles/defaultTheme'; import { jsx as _jsx } from "react/jsx-runtime"; function GlobalStyles(props) { return /*#__PURE__*/_jsx(SystemGlobalStyles, _extends({}, props, { defaultTheme: defaultTheme })); } 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 "yarn proptypes" | // ---------------------------------------------------------------------- /** * The styles you want to apply globally. */ styles: PropTypes.oneOfType([PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.shape({ __emotion_styles: PropTypes.any.isRequired }), PropTypes.string, PropTypes.bool]) } : void 0; export default GlobalStyles;