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