dgz-ui-shared
Version:
Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript, dgz-ui library
13 lines • 427 B
TypeScript
import { ThemeMode } from '../enums';
type ThemeProviderState = {
theme: ThemeMode;
setTheme: (theme: ThemeMode) => void;
};
/**
* React context holding the current theme and a setter to update it.
*
* Use together with useTheme() hook. Defaults to system theme.
*/
export declare const ThemeProviderContext: import("react").Context<ThemeProviderState>;
export {};
//# sourceMappingURL=ThemeProviderContext.d.ts.map