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

21 lines
1.2 KiB
TypeScript

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, };