lightning-auth-and-payment
Version:
Lightning Network authentication and payment processing library for modern web applications
10 lines • 557 B
TypeScript
/**
* Theme context and provider
* Manages theme state and provides theme utilities
*/
import { ThemeContextValue, ThemeProviderProps } from './types';
export declare function useTheme(): ThemeContextValue;
export declare function ThemeProvider({ children, defaultTheme: initialTheme, storageKey, attribute, }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
export declare function useThemeMode(): 'light' | 'dark';
export declare function useThemeClass(lightClass: string, darkClass: string): string;
//# sourceMappingURL=context.d.ts.map