Skip to content

Commit

Permalink
fix(Input): add focus method to typings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Fedyashov committed Aug 16, 2017
1 parent a4780cd commit f062895
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/elements/Input/Input.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ export interface InputOnChangeData extends InputProps {
value: string;
}

declare const Input: React.ComponentClass<InputProps>;
declare class Input extends React.Component<InputProps, {}> {
focus: () => void;
}

export default Input;

0 comments on commit f062895

Please sign in to comment.