Files
MattrixwvReactComponents/lib/types/ThemeTypes.ts
2025-08-10 23:11:56 -04:00

19 lines
368 B
TypeScript

export type Theme = "dark" | "light" | "system";
export interface ThemeProviderProps {
defaultTheme?: Theme;
storageKey?: string;
children: React.ReactNode;
}
export interface ThemeProviderState {
theme: Theme;
setTheme: (theme: Theme) => void;
}
export interface ThemeProviderProps {
children: React.ReactNode;
defaultTheme?: Theme;
storageKey?: string;
}