Skip to content

Commit

Permalink
[Docs] Added documentation for onChangeText prop of TextInput
Browse files Browse the repository at this point in the history
Summary:
Closes #1602
Github Author: Prathamesh Sonpatki <csonpatki@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
  • Loading branch information
prathamesh-sonpatki committed Jun 15, 2015
1 parent 3940b02 commit 03f49c8
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 03f49c8

Please sign in to comment.