Update README.md

typo in basic list example code
This commit is contained in:
Noitidart 2018-05-30 16:55:10 -07:00 committed by GitHub
parent 8dcd01623b
commit 9c40be5529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ const { selectedItem } = await DialogAndroid.showPicker('Pick a fruit', null, {
}); });
if (selectedItem) { if (selectedItem) {
// when negative button is clicked, selectedItem is not present, so it doesn't get here // when negative button is clicked, selectedItem is not present, so it doesn't get here
console.log('You selected item:', item); console.log('You selected item:', selectedItem);
} }
``` ```