From f36d66c5a136f0793aad95b3289aeffe6f64c133 Mon Sep 17 00:00:00 2001 From: AIRESH BHAT Date: Thu, 3 Jun 2021 22:16:43 +0530 Subject: [PATCH] Update react native pager view package --- package.json | 4 ++-- src/index.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a32c185..11b8f0b 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "devDependencies": { "@commitlint/config-conventional": "^8.2.0", "@react-native-community/bob": "^0.7.0", - "@react-native-community/viewpager": "react-native-community/react-native-viewpager#master", "@release-it/conventional-changelog": "^1.1.0", "@types/react": "^16.9.5", "@types/react-native": "^0.60.18", @@ -51,16 +50,17 @@ "react-dom": "~16.8.3", "react-native": "~0.59.10", "react-native-gesture-handler": "^1.4.1", + "react-native-pager-view": "^5.1.3", "react-native-reanimated": "^1.3.0", "react-native-tab-view": "^2.11.0", "release-it": "^12.4.2", "typescript": "^3.6.3" }, "peerDependencies": { - "@react-native-community/viewpager": "*", "react": "*", "react-native": "*", "react-native-gesture-handler": "*", + "react-native-pager-view": "*", "react-native-reanimated": "*", "react-native-tab-view": "*" }, diff --git a/src/index.tsx b/src/index.tsx index bd42cde..4d3063e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { Keyboard, StyleProp, ViewStyle } from 'react-native'; -import ViewPager from '@react-native-community/viewpager'; +import ViewPager from 'react-native-pager-view'; import Animated from 'react-native-reanimated'; import {