Skip to content

Commit e3b7f0c

Browse files
committed
update both of these definitions to add missing event handlers
1 parent daaea32 commit e3b7f0c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/FormControl.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ export interface FormControlProps extends React.Props<FormControlClass> {
88
type: string;
99
id?: string;
1010
name?: string;
11+
value?: string | number;
1112
placeholder?: string;
13+
onChange: Function;
14+
onKeyPress: Function;
1215
}
1316
export interface FormControl extends React.ReactElement<FormControlProps> {}
1417
export interface FormControlClass extends React.ComponentClass<FormControlProps> {

src/FormGroup.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import React = require("react");
55
// ----------------------------------------
66
export interface FormGroupProps extends React.Props<FormGroupClass> {
77
controlId: string;
8+
validationState: string;
89
}
910
export interface FormGroup extends React.ReactElement<FormGroupProps> {}
1011
export interface FormGroupClass extends React.ComponentClass<FormGroupProps> {}

0 commit comments

Comments
 (0)