1 | import * as React from 'react';
|
2 | import FormFileInput from './FormFileInput';
|
3 | import FormFileLabel from './FormFileLabel';
|
4 | import { BsPrefixComponent } from './helpers';
|
5 |
|
6 | export interface FormFileProps {
|
7 | bsCustomPrefix?: string;
|
8 | id?: string;
|
9 | disabled?: boolean;
|
10 | label?: React.ReactNode;
|
11 | custom?: boolean;
|
12 | isValid?: boolean;
|
13 | isInvalid?: boolean;
|
14 | feedback?: React.ReactNode;
|
15 | lang?: string;
|
16 | }
|
17 |
|
18 | declare class FormFile<
|
19 | As extends React.ElementType = 'input'
|
20 | > extends BsPrefixComponent<As, FormFileProps> {
|
21 | static Input: typeof FormFileInput;
|
22 | static Label: typeof FormFileLabel;
|
23 | }
|
24 |
|
25 | export default FormFile;
|