Skip to content

Commit ba5b3f8

Browse files
authored
Update README.md
typo in basic list code example
1 parent e9933c3 commit ba5b3f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ setTimeout(DialogAndroid.dismiss, 5000);
440440
![](https://github.com/aakashns/react-native-dialogs/blob/master/screenshots/list.png)
441441

442442
```js
443-
const { selectedItem } = await DialogAndroid.alert('Title', null, {
443+
const { selectedItem } = await DialogAndroid.showPicker('Pick a fruit', null, {
444444
items: [
445445
{ label:'Apple', id:'apple' },
446446
{ label:'Orange', id:'orange' },

0 commit comments

Comments
 (0)