UNPKG

796 BTypeScriptView Raw
1import * as React from "react";
2import { Sizes } from "react-bootstrap";
3import FormControlFeedback = require("./FormControlFeedback");
4import FormControlStatic = require("./FormControlStatic");
5
6declare namespace FormControl {
7 export interface FormControlProps extends React.HTMLProps<FormControl> {
8 bsClass?: string | undefined;
9 bsSize?: Sizes | undefined;
10 componentClass?: React.ElementType | undefined;
11 id?: string | undefined;
12 inputRef?: ((instance: HTMLInputElement) => void) | undefined;
13 type?: string | undefined;
14 }
15}
16declare class FormControl extends React.Component<FormControl.FormControlProps> {
17 public static Feedback: typeof FormControlFeedback;
18 public static Static: typeof FormControlStatic;
19}
20export = FormControl;
21
\No newline at end of file