Typescript: document Input methods (#1154)

old
Artur Eshenbrener 2017-01-21 15:16:56 +03:00 committed by Javi Velasco
parent 792f8acc42
commit eff4b841b8
1 changed files with 11 additions and 1 deletions

View File

@ -136,6 +136,16 @@ export interface InputProps extends ReactToolbox.Props {
value?: any;
}
export class Input extends React.Component<InputProps, {}> { }
export class Input extends React.Component<InputProps, {}> {
/**
* Used to focus the input element.
*/
public focus(): void;
/**
* Used to blur the input element.
*/
public blur(): void;
}
export default Input;