@jigoooo/shared-ui
Version:
A reusable React component library and design system with TypeScript support, built on Vite for seamless integration and optimized performance.
4 lines (3 loc) • 308 B
TypeScript
import { ThemeContextType, CustomThemeExtensions } from './theme-type.ts';
export declare const ThemeContext: import('react').Context<ThemeContextType<any> | null>;
export declare function useThemeContext<TCustomTheme extends CustomThemeExtensions = Record<string, never>>(): ThemeContextType<TCustomTheme>;