UNPKG

@whitemordred/react-native-bootstrap5

Version:

A complete React Native library that replicates Bootstrap 5.3 with 100% feature parity, full theming support, CSS variables, and dark/light mode

25 lines 794 B
import React, { ReactNode } from 'react'; import { Theme, ThemeMode, ThemePreferences } from './defaultTheme'; interface ThemeContextType { theme: Theme; mode: ThemeMode; setMode: (mode: ThemeMode) => void; toggleMode: () => void; currentColors: any; isLoading: boolean; preferences: ThemePreferences | null; isFollowingSystem: boolean; systemTheme: 'light' | 'dark'; } interface BootstrapProviderProps { children: ReactNode; theme?: Partial<Theme>; mode?: ThemeMode; followSystemTheme?: boolean; enableAnimations?: boolean; persistTheme?: boolean; } export declare const BootstrapProvider: React.FC<BootstrapProviderProps>; export declare const useTheme: () => ThemeContextType; export {}; //# sourceMappingURL=ThemeProvider.d.ts.map