Skip to content

Commit

Permalink
[TextField] Improve onChange type definition (#12294)
Browse files Browse the repository at this point in the history
  • Loading branch information
t49tran authored and oliviertassinari committed Jul 27, 2018
1 parent ca6919d commit 19bf9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/TextField/TextField.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface TextFieldProps
margin?: PropTypes.Margin;
multiline?: boolean;
name?: string;
onChange?: React.ChangeEventHandler<HTMLInputElement>;
onChange?: React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>;
placeholder?: string;
required?: boolean;
rows?: string | number;
Expand Down

0 comments on commit 19bf9cf

Please sign in to comment.