UNPKG

@frank-auth/react

Version:

Flexible and customizable React UI components for Frank Authentication

10 lines 369 B
import { Theme, ThemeMode } from './theme'; export type ThemeContextType = { mode: ThemeMode; setMode: (mode: ThemeMode) => void; toggleMode: () => void; theme: Theme; }; export declare const ThemeContext: import('react').Context<ThemeContextType | undefined>; export declare const useTheme: () => ThemeContextType; //# sourceMappingURL=context.d.ts.map