[Docs] Added documentation for onChangeText prop of TextInput
Summary: Closes https://github.com/facebook/react-native/pull/1602 Github Author: Prathamesh Sonpatki <csonpatki@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
This commit is contained in:
parent
3940b024a0
commit
03f49c8b0f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue