UNPKG

@mui/material

Version:

Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.

32 lines (31 loc) 1.49 kB
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>; /** * @deprecated Use `InitColorSchemeScript` instead * ```diff * - import { getInitColorSchemeScript } from '@mui/material/styles'; * + import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'; * * - getInitColorSchemeScript(); * + <InitColorSchemeScript />; * ``` */ export declare const getInitColorSchemeScript: typeof import("@mui/system/InitColorSchemeScript").default; export { useColorScheme, CssVarsProvider as Experimental_CssVarsProvider };