@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.
21 lines (20 loc) • 1.2 kB
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, };