@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.
11 lines (10 loc) • 427 B
TypeScript
import * as React from 'react';
import THEME_ID from './identifier';
import type { Theme } from './types';
import type { CssVarsThemeOptions } from './extendTheme';
export declare const useTheme: () => Theme;
export default function ThemeProvider({ children, theme: themeInput, }: React.PropsWithChildren<{
theme?: CssVarsThemeOptions | {
[k in typeof THEME_ID]: CssVarsThemeOptions;
};
}>): React.JSX.Element;