mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 13:03:08 +08:00
Document arguments to onSelectionChange
Summary: To update the documentation. Works on iOS, so I assume this is the same on Android. Closes https://github.com/facebook/react-native/pull/11575 Differential Revision: D4494464 Pulled By: mkonicek fbshipit-source-id: c7480d39ed0849401efaa080948c14fa0cb7a08d
This commit is contained in:
committed by
Facebook Github Bot
parent
5e6f39aace
commit
5938e16248
@@ -367,6 +367,8 @@ const TextInput = React.createClass({
|
||||
onEndEditing: PropTypes.func,
|
||||
/**
|
||||
* Callback that is called when the text input selection is changed.
|
||||
* This will be called with
|
||||
* `{ nativeEvent: { selection: { start, end } } }`.
|
||||
*/
|
||||
onSelectionChange: PropTypes.func,
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user