Skip to content

Commit 3c5454e

Browse files
committed
chore: update example project dependencies and import path
1 parent 95f29cf commit 3c5454e

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

bun.lockb

569 KB
Binary file not shown.

example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"react": "18.3.1",
1616
"react-dom": "18.3.1",
1717
"react-native": "0.76.7",
18-
"react-native-web": "~0.19.13"
18+
"react-native-web": "~0.19.13",
19+
"@duocvo/react-native-gesture-image": "*"
1920
},
2021
"devDependencies": {
2122
"@babel/core": "^7.20.0",

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { StyleSheet } from 'react-native';
22
import { GestureHandlerRootView } from 'react-native-gesture-handler';
3-
import Gallery from 'react-native-gesture-image';
3+
import Gallery from '@duocvo/react-native-gesture-image';
44

55
const image1 = require('../assets/image1.jpeg');
66
const image2 = require('../assets/image2.jpeg');

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"jsx": "react-jsx",
1212
"lib": ["ESNext"],
1313
"module": "ESNext",
14-
"moduleResolution": "Bundler",
14+
"moduleResolution": "bundler",
1515
"noEmit": true,
1616
"noFallthroughCasesInSwitch": true,
1717
"noImplicitReturns": true,
@@ -25,6 +25,6 @@
2525
"skipLibCheck": true,
2626
"strict": true,
2727
"target": "ESNext",
28-
"verbatimModuleSyntax": true
28+
"verbatimModuleSyntax": true,
2929
}
3030
}

0 commit comments

Comments
 (0)