From 5c31ba50984b5d9b6eb77cb1881bb94f156ae20e Mon Sep 17 00:00:00 2001 From: Joel Marcey Date: Tue, 28 Jun 2016 14:51:00 -0700 Subject: [PATCH] Fix TextInput API update nits Summary: Ref: https://github.com/facebook/react-native/pull/8392/files/7e7c2b5d57afe451dc5b6ede6b419819e3ac7fbd#r68444537 Ref: https://github.com/facebook/react-native/pull/8392/files/7e7c2b5d57afe451dc5b6ede6b419819e3ac7fbd#r68444442 Closes https://github.com/facebook/react-native/pull/8476 Differential Revision: D3494641 Pulled By: JoelMarcey fbshipit-source-id: 9a75ff66ccb895deb2f5027bdffe5d5bfe898e41 --- Libraries/Components/TextInput/TextInput.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index 94a8c7eca..493bdedc3 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -361,7 +361,7 @@ const TextInput = React.createClass({ * - `focus()` * - `update()` * - * > You can refernce `DocumentSelectionState` in + * > You can reference `DocumentSelectionState` in * > [`vendor/document/selection/DocumentSelectionState.js`](https://github.com/facebook/react-native/blob/master/Libraries/vendor/document/selection/DocumentSelectionState.js) * * @platform ios @@ -407,7 +407,7 @@ const TextInput = React.createClass({ * The default value is true for single-line fields and false for * multiline fields. Note that for multiline fields, setting `blurOnSubmit` * to `true` means that pressing return will blur the field and trigger the - * `onSubmitEditin`g event instead of inserting a newline into the field. + * `onSubmitEditing` event instead of inserting a newline into the field. */ blurOnSubmit: PropTypes.bool, /**