Skip to content

Commit 9830ac6

Browse files
authored
fix(TextArea): fix textarea onChange type (#4079)
1 parent 9399332 commit 9830ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/addons/TextArea/TextArea.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface StrictTextAreaProps {
1414
* @param {SyntheticEvent} event - The React SyntheticEvent object
1515
* @param {object} data - All props and the event value.
1616
*/
17-
onChange?: (event: React.FormEvent<HTMLTextAreaElement>, data: TextAreaProps) => void
17+
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>, data: TextAreaProps) => void
1818

1919
/**
2020
* Called on input.

0 commit comments

Comments
 (0)