worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
7
node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.d.ts
generated
vendored
Normal file
7
node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import * as React from 'react';
|
||||
import { Interpolation } from '@emotion/react';
|
||||
export interface GlobalStylesProps<Theme = {}> {
|
||||
defaultTheme?: object;
|
||||
styles: Interpolation<Theme>;
|
||||
}
|
||||
export default function GlobalStyles<Theme = {}>(props: GlobalStylesProps<Theme>): React.JSX.Element;
|
||||
23
node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js
generated
vendored
Normal file
23
node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
'use client';
|
||||
|
||||
import * as React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Global } from '@emotion/react';
|
||||
import { jsx as _jsx } from "react/jsx-runtime";
|
||||
function isEmpty(obj) {
|
||||
return obj === undefined || obj === null || Object.keys(obj).length === 0;
|
||||
}
|
||||
export default function GlobalStyles(props) {
|
||||
const {
|
||||
styles,
|
||||
defaultTheme = {}
|
||||
} = props;
|
||||
const globalStyles = typeof styles === 'function' ? themeInput => styles(isEmpty(themeInput) ? defaultTheme : themeInput) : styles;
|
||||
return /*#__PURE__*/_jsx(Global, {
|
||||
styles: globalStyles
|
||||
});
|
||||
}
|
||||
process.env.NODE_ENV !== "production" ? GlobalStyles.propTypes = {
|
||||
defaultTheme: PropTypes.object,
|
||||
styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])
|
||||
} : void 0;
|
||||
2
node_modules/@mui/styled-engine/esm/GlobalStyles/index.d.ts
generated
vendored
Normal file
2
node_modules/@mui/styled-engine/esm/GlobalStyles/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export { default } from "./GlobalStyles.js";
|
||||
export * from "./GlobalStyles.js";
|
||||
1
node_modules/@mui/styled-engine/esm/GlobalStyles/index.js
generated
vendored
Normal file
1
node_modules/@mui/styled-engine/esm/GlobalStyles/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export { default } from "./GlobalStyles.js";
|
||||
Loading…
Add table
Add a link
Reference in a new issue