Skip to content

Commit 2e8f206

Browse files
MateWWMateusz Wit
andauthored
hotfix: Change example package name (#262)
Co-authored-by: Mateusz Wit <[email protected]>
1 parent a791a65 commit 2e8f206

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import ViewPager, {
1313
ViewPagerOnPageScrollEvent,
1414
ViewPagerOnPageSelectedEvent,
1515
PageScrollStateChangedNativeEvent,
16-
} from 'react-native-viewpager';
16+
} from '@react-native-community/viewpager';
1717

1818
import { PAGES, createPage } from './utils';
1919
import { Button } from './component/Button';

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"baseUrl": ".",
44
"paths": {
5-
"react-native-viewpager": ["./src/index"]
5+
"@react-native-community/viewpager": ["./src/index"]
66
},
77
"allowUnreachableCode": false,
88
"allowUnusedLabels": false,

0 commit comments

Comments
 (0)