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 {
1313 InteractionManager,
1414} = ReactNative ;
1515
16- const ViewPagerAndroid = require ( '@react-native-community/viewpager' ) ;
1716const TimerMixin = require ( 'react-timer-mixin' ) ;
18- const ViewPager = require ( '@ react-native-community/viewpager' ) ;
17+ import PagerView from ' react-native-pager-view' ;
1918
2019const SceneComponent = require ( './SceneComponent' ) ;
2120const DefaultTabBar = require ( './DefaultTabBar' ) ;
2221const ScrollableTabBar = require ( './ScrollableTabBar' ) ;
2322
2423const AnimatedViewPagerAndroid = Platform . OS === 'android' ?
25- Animated . createAnimatedComponent ( ViewPager ) :
24+ Animated . createAnimatedComponent ( PagerView ) :
2625 undefined ;
2726
2827const ScrollableTabView = createReactClass ( {
Original file line number Diff line number Diff line change 44 "description" : " " ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "lint" : " eslint -c .eslintrc . --ignore-path .gitignore " ,
7+ "lint" : " eslint . " ,
88 "test" : " echo \" Error: no test specified\" && exit 1"
99 },
1010 "repository" : {
2929 },
3030 "homepage" : " https://github.com/brentvatne/react-native-scrollable-tab-view#readme" ,
3131 "dependencies" : {
32- "@ react-native-community/viewpager " : " 3.3.0 " ,
32+ "react-native-pager-view " : " ^4.2.4 " ,
3333 "create-react-class" : " ^15.6.2" ,
3434 "deprecated-react-native-prop-types" : " ^2.3.0" ,
3535 "prop-types" : " ^15.6.0" ,
You can’t perform that action at this time.
0 commit comments