Skip to content

Commit

Permalink
fix(TextArea): fix textarea onChange type (#4079)
Browse files Browse the repository at this point in the history
  • Loading branch information
foooomio authored Sep 28, 2020
1 parent 9399332 commit 9830ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addons/TextArea/TextArea.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface StrictTextAreaProps {
* @param {SyntheticEvent} event - The React SyntheticEvent object
* @param {object} data - All props and the event value.
*/
onChange?: (event: React.FormEvent<HTMLTextAreaElement>, data: TextAreaProps) => void
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>, data: TextAreaProps) => void

/**
* Called on input.
Expand Down

0 comments on commit 9830ac6

Please sign in to comment.