Skip to content

Commit 194e87f

Browse files
committed
rm react-native-picker/picker as a dependency and add it as dev and peer
1 parent ca6488c commit 194e87f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ For either platform, you can alternatively pass down a child element of your cho
2121

2222
### Installing
2323

24+
This package is built around and depends on [@react-native-picker/picker](https://github.com/react-native-picker/picker). Please make sure you install it correctly (as seen below in installation steps).
25+
2426
```
2527
npm install react-native-picker-select
2628

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"/src"
2525
],
2626
"dependencies": {
27-
"@react-native-picker/picker": "^1.8.3",
2827
"lodash.isequal": "^4.5.0"
2928
},
3029
"devDependencies": {
@@ -43,8 +42,12 @@
4342
"react": "16.6.1",
4443
"react-dom": "^16.6.1",
4544
"react-native": "0.57.7",
45+
"@react-native-picker/picker": ">=2.1.0",
4646
"react-test-renderer": "^16.6.1"
4747
},
48+
"peerDependencies": {
49+
"@react-native-picker/picker": ">=2.1.0"
50+
},
4851
"scripts": {
4952
"test": "jest",
5053
"test:watch": "jest --watch",

0 commit comments

Comments
 (0)