@datamonsterr/vdt-dashboard
Version:
9 lines • 343 B
TypeScript
export type Theme = 'light' | 'dark';
export interface ThemeContextType {
theme: Theme;
setTheme: (theme: Theme) => void;
toggleTheme: () => void;
}
export declare const ThemeContext: import("react").Context<ThemeContextType | null>;
export declare const useTheme: () => ThemeContextType;
//# sourceMappingURL=ThemeContext.d.ts.map