mirror of
https://github.com/status-im/react-native-dialogs.git
synced 2025-03-01 08:40:26 +00:00
Update README.md
typo in basic list example code
This commit is contained in:
parent
8dcd01623b
commit
9c40be5529
@ -451,7 +451,7 @@ const { selectedItem } = await DialogAndroid.showPicker('Pick a fruit', null, {
|
||||
});
|
||||
if (selectedItem) {
|
||||
// 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);
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user