Skip to content

Commit b0a6323

Browse files
readme: fix import Picker (#77)
Co-authored-by: Adcent <adcentury100@gmail.com>
1 parent 66b3018 commit b0a6323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Each `Picker.Item` component exposes a `selected` state that can be used to cust
7272

7373
```jsx
7474
import { useState } from 'react'
75-
import { Picker } from 'react-mobile-picker'
75+
import Picker from 'react-mobile-picker'
7676

7777
function MyPicker() {
7878
const [pickerValue, setPickerValue] = useState({
@@ -105,7 +105,7 @@ React Mobile Picker is designed to be used on mobile devices, but it can also su
105105

106106
```jsx
107107
import { useState } from 'react'
108-
import { Picker } from 'react-mobile-picker'
108+
import Picker from 'react-mobile-picker'
109109

110110
function MyPicker() {
111111
const [pickerValue, setPickerValue] = useState({

0 commit comments

Comments
 (0)