Skip to content

Conversation

@jailsonpaca
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-native-wheel-picker-cross-platform@1.0.2 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-wheel-picker-cross-platform/index.js b/node_modules/react-native-wheel-picker-cross-platform/index.js
index bc7ed07..1fc6a48 100644
--- a/node_modules/react-native-wheel-picker-cross-platform/index.js
+++ b/node_modules/react-native-wheel-picker-cross-platform/index.js
@@ -3,10 +3,9 @@
 import React from 'react';
 
 import {
-	PickerIOS,
 	Platform,
 } from 'react-native';
-
+import { Picker as PickerIOS } from "@react-native-picker/picker"
 import WheelCurvedPicker from './WheelCurvedPicker'
 
 module.exports = (Platform.OS === 'ios' ? PickerIOS : WheelCurvedPicker)

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

Successfully merging this pull request may close these issues.

2 participants