%PDF- %PDF-
Direktori : /home/emergentqj/actioncivile/pre-auth/.8352c036a19b0051d0217d27d25e3f4a/static/node_modules/@mui/system/esm/GlobalStyles/ |
Current File : /home/emergentqj/actioncivile/pre-auth/.8352c036a19b0051d0217d27d25e3f4a/static/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js |
import * as React from 'react'; import PropTypes from 'prop-types'; import { GlobalStyles as MuiGlobalStyles } from '@mui/styled-engine'; import useTheme from '../useTheme'; import { jsx as _jsx } from "react/jsx-runtime"; function GlobalStyles({ styles, themeId, defaultTheme = {} }) { const upperTheme = useTheme(defaultTheme); const globalStyles = typeof styles === 'function' ? styles(themeId ? upperTheme[themeId] || upperTheme : upperTheme) : styles; return /*#__PURE__*/_jsx(MuiGlobalStyles, { styles: globalStyles }); } process.env.NODE_ENV !== "production" ? GlobalStyles.propTypes /* remove-proptypes */ = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit TypeScript types and run "yarn proptypes" | // ---------------------------------------------------------------------- /** * @ignore */ defaultTheme: PropTypes.object, /** * @ignore */ styles: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.array, PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.string, PropTypes.bool]), /** * @ignore */ themeId: PropTypes.string } : void 0; export default GlobalStyles;