Skip to content

Commit

Permalink
adding onEndEditing callback
Browse files Browse the repository at this point in the history
  • Loading branch information
fabOnReact committed Mar 18, 2022
1 parent fa21d97 commit 3b7581c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ function ErrorExample(): React.Node {
<TextInput
errorMessage={error}
onBlur={() => setError('onBlur')}
onEndEditing={() => setError('onEndEditing')}
onChangeText={newText => {
setText(newText);
if (newText === 'error') {
Expand Down

0 comments on commit 3b7581c

Please sign in to comment.