@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
32 lines • 965 B
TypeScript
import React from 'react';
import { ViewStyle, TextStyle, TextInputProps } from 'react-native';
interface FormGroupProps {
children: React.ReactNode;
style?: ViewStyle;
}
interface FormLabelProps {
children: React.ReactNode;
required?: boolean;
style?: TextStyle;
}
interface FormControlProps extends TextInputProps {
isInvalid?: boolean;
size?: 'sm' | 'lg' | 'default';
style?: ViewStyle;
}
interface FormTextProps {
children: React.ReactNode;
muted?: boolean;
style?: TextStyle;
}
interface InvalidFeedbackProps {
children: React.ReactNode;
style?: TextStyle;
}
export declare const FormGroup: React.FC<FormGroupProps>;
export declare const FormLabel: React.FC<FormLabelProps>;
export declare const FormControl: React.FC<FormControlProps>;
export declare const FormText: React.FC<FormTextProps>;
export declare const InvalidFeedback: React.FC<InvalidFeedbackProps>;
export {};
//# sourceMappingURL=Form.d.ts.map