UNPKG

knoxui-react

Version:

KnoxUI is a corporate-focused React component library.

15 lines (14 loc) 419 B
import * as React from "react"; interface ThemeContextType { theme: string; setTheme: (theme: string) => void; } export declare const useTheme: () => ThemeContextType; interface ThemeProviderProps { children: React.ReactNode; attribute?: string; defaultTheme?: string; storageKey?: string; } declare const ThemeProvider: React.FC<ThemeProviderProps>; export default ThemeProvider;