Fix onKeyPress documentation of TextInput

Summary:
Only tested on iOS.
Closes https://github.com/facebook/react-native/pull/11621

Differential Revision: D4374415

Pulled By: mkonicek

fbshipit-source-id: b686d0480b8db181dae46a94e9d1b88eab488074
This commit is contained in:
Michal Srb 2016-12-29 16:56:01 -08:00 коммит произвёл Facebook Github Bot
Родитель 54edc75dc0
Коммит 5df227f42c
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -376,7 +376,9 @@ const TextInput = React.createClass({
onSubmitEditing: PropTypes.func,
/**
* Callback that is called when a key is pressed.
* Pressed key value is passed as an argument to the callback handler.
* This will be called with `{ nativeEvent: { key: keyValue } }`
* where `keyValue` is `'Enter'` or `'Backspace'` for respective keys and
* the typed-in character otherwise including `' '` for space.
* Fires before `onChange` callbacks.
* @platform ios
*/