Update README.md

typo in basic list code example
This commit is contained in:
Noitidart 2018-05-16 12:32:24 -07:00 committed by GitHub
parent e9933c3696
commit ba5b3f81d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ setTimeout(DialogAndroid.dismiss, 5000);
![](https://github.com/aakashns/react-native-dialogs/blob/master/screenshots/list.png)
```js
const { selectedItem } = await DialogAndroid.alert('Title', null, {
const { selectedItem } = await DialogAndroid.showPicker('Pick a fruit', null, {
items: [
{ label:'Apple', id:'apple' },
{ label:'Orange', id:'orange' },