File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,15 @@ const {
13
13
InteractionManager,
14
14
} = ReactNative ;
15
15
16
- const ViewPagerAndroid = require ( '@react-native-community/viewpager' ) ;
17
16
const TimerMixin = require ( 'react-timer-mixin' ) ;
18
- const ViewPager = require ( '@ react-native-community/viewpager' ) ;
17
+ import PagerView from ' react-native-pager-view' ;
19
18
20
19
const SceneComponent = require ( './SceneComponent' ) ;
21
20
const DefaultTabBar = require ( './DefaultTabBar' ) ;
22
21
const ScrollableTabBar = require ( './ScrollableTabBar' ) ;
23
22
24
23
const AnimatedViewPagerAndroid = Platform . OS === 'android' ?
25
- Animated . createAnimatedComponent ( ViewPager ) :
24
+ Animated . createAnimatedComponent ( PagerView ) :
26
25
undefined ;
27
26
28
27
const ScrollableTabView = createReactClass ( {
Original file line number Diff line number Diff line change 4
4
"description" : " " ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
- "lint" : " eslint -c .eslintrc . --ignore-path .gitignore " ,
7
+ "lint" : " eslint . " ,
8
8
"test" : " echo \" Error: no test specified\" && exit 1"
9
9
},
10
10
"repository" : {
29
29
},
30
30
"homepage" : " https://github.com/brentvatne/react-native-scrollable-tab-view#readme" ,
31
31
"dependencies" : {
32
- "@ react-native-community/viewpager " : " 3.3.0 " ,
32
+ "react-native-pager-view " : " ^4.2.4 " ,
33
33
"create-react-class" : " ^15.6.2" ,
34
34
"deprecated-react-native-prop-types" : " ^2.3.0" ,
35
35
"prop-types" : " ^15.6.0" ,
You can’t perform that action at this time.
0 commit comments