UNPKG

@mui/joy

Version:

Joy UI is an open-source React component library that implements MUI's own design principles. It's comprehensive and can be used in production out of the box.

21 lines (20 loc) 1.15 kB
import * as React from 'react'; import type { SupportedColorScheme } from './types'; declare const CssVarsProvider: (props: React.PropsWithChildren<Partial<import("@mui/system").CssVarsProviderConfig<SupportedColorScheme>> & { theme?: { cssVarPrefix?: string | undefined; colorSchemes: Record<SupportedColorScheme, Record<string, any>>; } | { $$joy: { 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 { CssVarsProvider, useColorScheme, getInitColorSchemeScript };