UNPKG

626 BTypeScriptView Raw
1import * as React from 'react';
2import FormFileInput from './FormFileInput';
3import FormFileLabel from './FormFileLabel';
4import { BsPrefixComponent } from './helpers';
5
6export 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
18declare 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
25export default FormFile;