Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 94a12a8

Browse files
author
Jonathan Canevese
committed
feat: upgrade
1 parent 301dc13 commit 94a12a8

3 files changed

Lines changed: 1174 additions & 976 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"@release-it/conventional-changelog": "^2.0.0",
7373
"@types/jest": "^26.0.0",
7474
"@types/react": "^16.9.19",
75-
"@types/react-native": "0.62.13",
75+
"@types/react-native": "^0.67.3",
7676
"commitlint": "^11.0.0",
7777
"dotenv-cli": "^4.0.0",
7878
"eslint": "^7.2.0",
@@ -83,7 +83,7 @@
8383
"pod-install": "^0.1.0",
8484
"prettier": "^2.0.5",
8585
"react": "16.13.1",
86-
"react-native": "0.63.4",
86+
"react-native": "0.68.0",
8787
"react-native-builder-bob": "^0.18.0",
8888
"release-it": "^14.2.2",
8989
"typescript": "^4.1.3"

src/components/BottomModal.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ import React, {
33
useCallback,
44
useImperativeHandle,
55
} from 'react';
6-
import { StyleSheet, View, ViewStyle } from 'react-native';
6+
import { StyleSheet, View, ViewStyle, Pressable } from 'react-native';
77
import {
88
PanGestureHandler,
99
PanGestureHandlerGestureEvent,
10-
TouchableWithoutFeedback,
1110
} from 'react-native-gesture-handler';
1211
import Animated, {
1312
Easing,
@@ -19,9 +18,7 @@ import Animated, {
1918
withSpring,
2019
withTiming,
2120
} from 'react-native-reanimated';
22-
const ReanimatedBackdrop = Animated.createAnimatedComponent(
23-
TouchableWithoutFeedback
24-
);
21+
const ReanimatedBackdrop = Animated.createAnimatedComponent(Pressable);
2522

2623
import { screen } from '../utils';
2724

0 commit comments

Comments
 (0)