@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
27 lines • 881 B
TypeScript
import React from 'react';
interface CSSVariablesLoaderProps {
isDarkMode: boolean;
customLightCSS?: string;
customDarkCSS?: string;
}
/**
* Component to load CSS variables for web platform
* On native platforms, this component does nothing
*/
export declare const CSSVariablesLoader: React.FC<CSSVariablesLoaderProps>;
/**
* Hook to get CSS variable value
* Only works on web platform
*/
export declare const useCSSVariable: (variableName: string) => string | undefined;
/**
* Utility to parse CSS variables into React Native styles
*/
export declare const parseCSSVariables: (cssContent: string) => Record<string, any>;
/**
* Load custom CSS file content
* This is a helper for users who want to provide custom CSS files
*/
export declare const loadCSSFile: (filePath: string) => Promise<string>;
export {};
//# sourceMappingURL=CSSVariablesLoader.d.ts.map