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

21 lines 744 B
import React from 'react'; import { ViewStyle, TextStyle } from 'react-native'; export type AlertVariant = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'blue' | 'indigo' | 'purple' | 'pink' | 'red' | 'orange' | 'yellow' | 'green' | 'teal' | 'cyan'; interface AlertProps { children: React.ReactNode; variant?: AlertVariant; dismissible?: boolean; show?: boolean; fade?: boolean; onDismiss?: () => void; heading?: string; icon?: React.ReactNode; border?: boolean; emphasis?: boolean; style?: ViewStyle; textStyle?: TextStyle; headingStyle?: TextStyle; } export declare const Alert: React.FC<AlertProps>; export {}; //# sourceMappingURL=Alert.d.ts.map