1 | import React from 'react';
|
2 | import Feedback from './Feedback';
|
3 | import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
4 | declare type FormControlElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
|
5 | export interface FormControlProps extends BsPrefixProps {
|
6 | bsCustomPrefix?: string;
|
7 | htmlSize?: number;
|
8 | size?: 'sm' | 'lg';
|
9 | plaintext?: boolean;
|
10 | readOnly?: boolean;
|
11 | disabled?: boolean;
|
12 | value?: string | string[] | number;
|
13 | onChange?: React.ChangeEventHandler<FormControlElement>;
|
14 | custom?: boolean;
|
15 | type?: string;
|
16 | id?: string;
|
17 | isValid?: boolean;
|
18 | isInvalid?: boolean;
|
19 | }
|
20 | declare const _default: BsPrefixRefForwardingComponent<"input", FormControlProps> & {
|
21 | Feedback: Feedback;
|
22 | };
|
23 | export default _default;
|