Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use @react-native-picker/picker #176

Open
philipheinser opened this issue Nov 4, 2022 · 0 comments
Open

use @react-native-picker/picker #176

philipheinser opened this issue Nov 4, 2022 · 0 comments

Comments

@philipheinser
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @victorzimnikov/[email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/@victorzimnikov/react-native-wheel-picker-android/example/package.json b/node_modules/@victorzimnikov/react-native-wheel-picker-android/example/package.json
index d740a23..bbb43fe 100644
--- a/node_modules/@victorzimnikov/react-native-wheel-picker-android/example/package.json
+++ b/node_modules/@victorzimnikov/react-native-wheel-picker-android/example/package.json
@@ -13,7 +13,7 @@
     "moment": "^2.24.0",
     "react": "16.9.0",
     "react-native": "0.61.5",
-    "@react-native-community/picker": "^1.8.0",
+    "@react-native-picker/picker": "^2.4.8",
     "react-native-wheel-picker-android": "../"
   },
   "devDependencies": {
diff --git a/node_modules/@victorzimnikov/react-native-wheel-picker-android/src/WheelPicker.ios.tsx b/node_modules/@victorzimnikov/react-native-wheel-picker-android/src/WheelPicker.ios.tsx
index aa895db..1b9d15f 100644
--- a/node_modules/@victorzimnikov/react-native-wheel-picker-android/src/WheelPicker.ios.tsx
+++ b/node_modules/@victorzimnikov/react-native-wheel-picker-android/src/WheelPicker.ios.tsx
@@ -1,6 +1,6 @@
 import React, { useState } from "react";
 import { View } from "react-native";
-import { Picker } from "@react-native-community/picker";
+import { Picker } from "@react-native-picker/picker";
 
 interface Props {
   data: Array<string>;

This issue body was partially generated by patch-package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant