Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
groteworld committed Apr 17, 2023
1 parent 49cfd3b commit 4dae438
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ const {
InteractionManager,
} = ReactNative;

const ViewPagerAndroid = require('@react-native-community/viewpager');
const TimerMixin = require('react-timer-mixin');
const ViewPager = require('@react-native-community/viewpager');
import PagerView from 'react-native-pager-view';

const SceneComponent = require('./SceneComponent');
const DefaultTabBar = require('./DefaultTabBar');
const ScrollableTabBar = require('./ScrollableTabBar');

const AnimatedViewPagerAndroid = Platform.OS === 'android' ?
Animated.createAnimatedComponent(ViewPager) :
Animated.createAnimatedComponent(PagerView) :
undefined;

const ScrollableTabView = createReactClass({
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"lint": "eslint -c .eslintrc . --ignore-path .gitignore",
"lint": "eslint .",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand All @@ -29,7 +29,7 @@
},
"homepage": "https://github.com/brentvatne/react-native-scrollable-tab-view#readme",
"dependencies": {
"@react-native-community/viewpager": "3.3.0",
"react-native-pager-view": "^4.2.4",
"create-react-class": "^15.6.2",
"deprecated-react-native-prop-types": "^2.3.0",
"prop-types": "^15.6.0",
Expand Down

0 comments on commit 4dae438

Please sign in to comment.