1 | import React from 'react';
|
2 | import FormFileInput from './FormFileInput';
|
3 | import FormFileLabel from './FormFileLabel';
|
4 | import { BsCustomPrefixProps, BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
|
5 | export interface FormFileProps extends BsPrefixPropsWithChildren, BsCustomPrefixProps, Pick<React.HTMLAttributes<HTMLElement>, 'style'> {
|
6 | inputAs?: React.ElementType;
|
7 | id?: string;
|
8 | disabled?: boolean;
|
9 | label?: React.ReactNode;
|
10 | custom?: boolean;
|
11 | isValid?: boolean;
|
12 | isInvalid?: boolean;
|
13 | feedback?: React.ReactNode;
|
14 | feedbackTooltip?: boolean;
|
15 | lang?: string;
|
16 | 'data-browse'?: any;
|
17 | }
|
18 | declare type FormFile = BsPrefixRefForwardingComponent<'input', FormFileProps> & {
|
19 | Input: typeof FormFileInput;
|
20 | Label: typeof FormFileLabel;
|
21 | };
|
22 | declare const FormFile: FormFile;
|
23 | export default FormFile;
|