Open Hassan-Naeem-code opened 1 year ago
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch react-native-color-picker@0.6.0 for the project I'm working on.
react-native-color-picker@0.6.0
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-color-picker/src/HoloColorPicker.tsx b/node_modules/react-native-color-picker/src/HoloColorPicker.tsx index 51a7bcc..6707587 100644 --- a/node_modules/react-native-color-picker/src/HoloColorPicker.tsx +++ b/node_modules/react-native-color-picker/src/HoloColorPicker.tsx @@ -4,13 +4,12 @@ import { Image, InteractionManager, PanResponderInstance, - Slider, StyleSheet, TouchableOpacity, View, } from "react-native" import tinycolor from "tinycolor2" - +import Slider from '@react-native-community/slider'; import { HsvColor, IPickerProps, Point2D } from "./typeHelpers" import { createPanResponder } from "./utils"
This issue body was partially generated by patch-package.
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch
react-native-color-picker@0.6.0
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.