1 | import * as React from 'react';
|
2 | import { extendSxProp } from '@mui/system/styleFunctionSx';
|
3 | import useTheme from "../styles/useTheme.js";
|
4 | import GlobalStyles from "../GlobalStyles/index.js";
|
5 | import { jsx as _jsx } from "react/jsx-runtime";
|
6 | export { css, keyframes } from '@mui/system';
|
7 | export { default as styled } from "../styles/styled.js";
|
8 | export function globalCss(styles) {
|
9 | return function GlobalStylesWrapper(props) {
|
10 | return (
|
11 |
|
12 |
|
13 | _jsx(GlobalStyles, {
|
14 | styles: typeof styles === 'function' ? theme => styles({
|
15 | theme,
|
16 | ...props
|
17 | }) : styles
|
18 | })
|
19 | );
|
20 | };
|
21 | }
|
22 |
|
23 |
|
24 | export function internal_createExtendSxProp() {
|
25 | return extendSxProp;
|
26 | }
|
27 | export { useTheme }; |
\ | No newline at end of file |