Skip to content

Commit

Permalink
Added documentation for onChangeText prop of TextInput
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamesh-sonpatki committed Jun 12, 2015
1 parent 5ee24bf commit 38d05f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ var TextInput = React.createClass({
* Callback that is called when the text input's text changes.
*/
onChange: PropTypes.func,
/**
* Callback that is called when the text input's text changes.
* Changed text is passed as an argument to the callback handler.
*/
onChangeText: PropTypes.func,
/**
* Callback that is called when text input ends.
Expand Down

0 comments on commit 38d05f3

Please sign in to comment.