You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
774 B
20 lines
774 B
import * as React from 'react';
|
|
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
|
declare type FormControlElement = HTMLInputElement | HTMLTextAreaElement;
|
|
export interface FormControlProps extends BsPrefixProps, React.HTMLAttributes<FormControlElement> {
|
|
htmlSize?: number;
|
|
size?: 'sm' | 'lg';
|
|
plaintext?: boolean;
|
|
readOnly?: boolean;
|
|
disabled?: boolean;
|
|
value?: string | string[] | number;
|
|
onChange?: React.ChangeEventHandler<FormControlElement>;
|
|
type?: string;
|
|
isValid?: boolean;
|
|
isInvalid?: boolean;
|
|
}
|
|
declare const _default: BsPrefixRefForwardingComponent<"input", FormControlProps> & {
|
|
Feedback: BsPrefixRefForwardingComponent<"div", import("./Feedback").FeedbackProps>;
|
|
};
|
|
export default _default;
|