UNPKG

@cgi-learning-hub/theme

Version:

@cgi-learning-hub/theme is a theme compatible with tailwind and mui

14 lines (13 loc) 486 B
import { PropsWithChildren } from 'react'; import { CreateThemeOptions, Theme } from './types'; export type ThemeProviderProps = PropsWithChildren<{ defaultMode?: "light" | "dark" | "system"; options?: CreateThemeOptions; } & ({ themeId: "campus" | "cd77" | "crna" | "default" | "ent-default" | "imt" | "ent1D"; customTheme?: never; } | { themeId?: never; customTheme: Theme; })>; export declare const ThemeProvider: React.FunctionComponent<ThemeProviderProps>;