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

33 lines 924 B
import React from 'react'; import { ViewStyle, TextStyle } from 'react-native'; interface CheckboxProps { children?: React.ReactNode; checked: boolean; onChange: (checked: boolean) => void; disabled?: boolean; indeterminate?: boolean; style?: ViewStyle; textStyle?: TextStyle; } interface RadioProps { children?: React.ReactNode; selected: boolean; onChange: (selected: boolean) => void; disabled?: boolean; name?: string; value?: string | number; style?: ViewStyle; textStyle?: TextStyle; } interface SwitchProps { checked: boolean; onChange: (checked: boolean) => void; disabled?: boolean; size?: 'sm' | 'lg'; style?: ViewStyle; } export declare const Checkbox: React.FC<CheckboxProps>; export declare const Radio: React.FC<RadioProps>; export declare const Switch: React.FC<SwitchProps>; export {}; //# sourceMappingURL=FormControls.d.ts.map