Skip to content

Commit 38d05f3

Browse files
Added documentation for onChangeText prop of TextInput
1 parent 5ee24bf commit 38d05f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Libraries/Components/TextInput/TextInput.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ var TextInput = React.createClass({
183183
* Callback that is called when the text input's text changes.
184184
*/
185185
onChange: PropTypes.func,
186+
/**
187+
* Callback that is called when the text input's text changes.
188+
* Changed text is passed as an argument to the callback handler.
189+
*/
186190
onChangeText: PropTypes.func,
187191
/**
188192
* Callback that is called when text input ends.

0 commit comments

Comments
 (0)