react-bootstrap-v5
Version:
Bootstrap 4 components built with React
22 lines (21 loc) • 714 B
TypeScript
import React from 'react';
import Feedback from './Feedback';
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
declare type FormControlElement = HTMLInputElement | HTMLTextAreaElement;
export interface FormControlProps extends BsPrefixProps {
htmlSize?: number;
size?: 'sm' | 'lg';
plaintext?: boolean;
readOnly?: boolean;
disabled?: boolean;
value?: string | string[] | number;
onChange?: React.ChangeEventHandler<FormControlElement>;
type?: string;
id?: string;
isValid?: boolean;
isInvalid?: boolean;
}
declare const _default: BsPrefixRefForwardingComponent<"input", FormControlProps> & {
Feedback: Feedback;
};
export default _default;