File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 4646 "homepage" : " https://github.com/computerjazz/react-native-draggable-flatlist#readme" ,
4747 "peerDependencies" : {
4848 "react-native" : " >=0.62.0" ,
49- "react-native-gesture-handler" : " >=1.0 .0" ,
50- "react-native-reanimated" : " >=1.9 .0"
49+ "react-native-gesture-handler" : " >=1.10 .0" ,
50+ "react-native-reanimated" : " >=2.2 .0"
5151 },
5252 "devDependencies" : {
5353 "@testing-library/react-native" : " ^7.2.0" ,
Original file line number Diff line number Diff line change @@ -29,3 +29,9 @@ export const isWeb = Platform.OS === "web";
2929
3030// Is there a better way to check for v2?
3131export const isReanimatedV2 = ! ! useSharedValue ;
32+
33+ if ( ! isReanimatedV2 ) {
34+ console . warn (
35+ "Your version of react-native-reanimated is too old for react-native-draggable-flatlist. It may not work as expected."
36+ ) ;
37+ }
You can’t perform that action at this time.
0 commit comments