UNPKG

mui-extended

Version:

Extended UI Components built on Material UI

12 lines (11 loc) 497 B
import { ThemeOptions } from "@mui/material"; import { FunctionComponent, PropsWithChildren } from "react"; export type ThemeOptionsContextType = { themeOptions: ThemeOptions; setThemeOptions: (themeOptions: ThemeOptions) => void; }; export declare const useThemeOptions: () => ThemeOptionsContextType; export type ThemeOptionsProviderProps = PropsWithChildren<{ themeOptions?: ThemeOptions; }>; export declare const ThemeOptionsProvider: FunctionComponent<ThemeOptionsProviderProps>;