paradiego
This commit is contained in:
21
node_modules/@mui/material/GlobalStyles/GlobalStyles.d.ts
generated
vendored
Normal file
21
node_modules/@mui/material/GlobalStyles/GlobalStyles.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import { GlobalStylesProps as StyledGlobalStylesProps } from '@mui/system';
|
||||
import { Theme } from '../styles';
|
||||
|
||||
export interface GlobalStylesProps {
|
||||
/**
|
||||
* The styles you want to apply globally.
|
||||
*/
|
||||
styles: StyledGlobalStylesProps<Theme>['styles'];
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [How to customize](https://mui.com/material-ui/customization/how-to-customize/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [GlobalStyles API](https://mui.com/material-ui/api/global-styles/)
|
||||
*/
|
||||
export default function GlobalStyles(props: GlobalStylesProps): React.ReactElement<unknown>;
|
||||
26
node_modules/@mui/material/GlobalStyles/GlobalStyles.js
generated
vendored
Normal file
26
node_modules/@mui/material/GlobalStyles/GlobalStyles.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
'use client';
|
||||
|
||||
import * as React from 'react';
|
||||
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;
|
||||
2
node_modules/@mui/material/GlobalStyles/index.d.ts
generated
vendored
Normal file
2
node_modules/@mui/material/GlobalStyles/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export { default } from './GlobalStyles';
|
||||
export * from './GlobalStyles';
|
||||
1
node_modules/@mui/material/GlobalStyles/index.js
generated
vendored
Normal file
1
node_modules/@mui/material/GlobalStyles/index.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export { default } from "./GlobalStyles.js";
|
||||
6
node_modules/@mui/material/GlobalStyles/package.json
generated
vendored
Normal file
6
node_modules/@mui/material/GlobalStyles/package.json
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"sideEffects": false,
|
||||
"module": "./index.js",
|
||||
"main": "../node/GlobalStyles/index.js",
|
||||
"types": "./index.d.ts"
|
||||
}
|
||||
Reference in New Issue
Block a user