diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index 42c26e61a..b267be256 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -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 */