FrontPastel/node_modules/@mui/material/styles/CssVarsProvider.d.ts

21 lines
1.2 KiB
TypeScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
import * as React from 'react';
import { SupportedColorScheme } from './experimental_extendTheme';
declare const CssVarsProvider: (props: React.PropsWithChildren<Partial<import("@mui/system").CssVarsProviderConfig<SupportedColorScheme>> & {
theme?: {
cssVarPrefix?: string | undefined;
colorSchemes: Record<SupportedColorScheme, Record<string, any>>;
} | {
$$material: {
cssVarPrefix?: string | undefined;
colorSchemes: Record<SupportedColorScheme, Record<string, any>>;
};
} | undefined;
documentNode?: Document | null | undefined;
colorSchemeNode?: Element | null | undefined;
colorSchemeSelector?: string | undefined;
storageWindow?: Window | null | undefined;
disableNestedContext?: boolean | undefined;
disableStyleSheetGeneration?: boolean | undefined;
}>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, useColorScheme: () => import("@mui/system").ColorSchemeContextValue<SupportedColorScheme>, getInitColorSchemeScript: typeof import("@mui/system").getInitColorSchemeScript;
export { useColorScheme, getInitColorSchemeScript, CssVarsProvider as Experimental_CssVarsProvider, };