1 | import React from 'react';
|
2 | import FormCheck from './FormCheck';
|
3 | import FormFile from './FormFile';
|
4 | import FormControl from './FormControl';
|
5 | import FormGroup from './FormGroup';
|
6 | import FormLabel from './FormLabel';
|
7 | import FormText from './FormText';
|
8 | import Switch from './Switch';
|
9 | import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
10 | declare const FormRow: BsPrefixRefForwardingComponent<"div", unknown>;
|
11 | export interface FormProps extends React.HTMLAttributes<HTMLFormElement>, BsPrefixProps {
|
12 | inline?: boolean;
|
13 | validated?: boolean;
|
14 | }
|
15 | declare type Form = BsPrefixRefForwardingComponent<'form', FormProps> & {
|
16 | Row: typeof FormRow;
|
17 | Group: typeof FormGroup;
|
18 | Control: typeof FormControl;
|
19 | Check: typeof FormCheck;
|
20 | File: typeof FormFile;
|
21 | Switch: typeof Switch;
|
22 | Label: typeof FormLabel;
|
23 | Text: typeof FormText;
|
24 | };
|
25 | declare const FormImpl: Form;
|
26 | export default FormImpl;
|