chore: upgrade react-native-tab-view

This commit is contained in:
Satyajit Sahoo
2021-07-31 03:04:58 +02:00
parent 8a95fb588b
commit 73277d533c
4 changed files with 12 additions and 6 deletions

View File

@@ -36,7 +36,7 @@
"react-native-reanimated": "~2.2.0",
"react-native-safe-area-context": "~3.2.0",
"react-native-screens": "~3.3.0",
"react-native-tab-view": "^3.0.1",
"react-native-tab-view": "^3.1.1",
"react-native-unimodules": "~0.13.3",
"react-native-vector-icons": "^8.1.0",
"react-native-web": "~0.16.3"

View File

@@ -54,7 +54,7 @@
"react-native": "~0.63.4",
"react-native-builder-bob": "^0.18.1",
"react-native-pager-view": "^5.1.10",
"react-native-tab-view": "^3.0.1",
"react-native-tab-view": "^3.1.1",
"typescript": "^4.3.2"
},
"peerDependencies": {

View File

@@ -33,10 +33,15 @@ function MaterialTopTabNavigator({
children,
screenListeners,
screenOptions,
// @ts-expect-error: swipeEnabled is deprecated
swipeEnabled,
// @ts-expect-error: lazy is deprecated
lazy,
// @ts-expect-error: lazyPlaceholder is deprecated
lazyPlaceholder,
// @ts-expect-error: lazyPreloadDistance is deprecated
lazyPreloadDistance,
// @ts-expect-error: tabBarOptions is deprecated
tabBarOptions,
...rest
}: Props) {
@@ -117,6 +122,7 @@ function MaterialTopTabNavigator({
children,
screenListeners,
screenOptions,
defaultScreenOptions,
});
return (

View File

@@ -17783,10 +17783,10 @@ react-native-screens@^3.3.0, react-native-screens@~3.3.0:
resolved "https://registry.yarnpkg.com/react-native-screens/-/react-native-screens-3.3.0.tgz#d4464a96620b85d09e46bd6865b5f48456c244f0"
integrity sha512-ni11jC6I9cFVXdLIDwkgafDHw/STXUNzkR5Fx3w8Wikdzi8gfTEan2kiOm7aS42d2F/LXddZ6i74Z2em0L6LPQ==
react-native-tab-view@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-3.0.1.tgz#7ed8c5c4a0bb48fa8895e612d26e6d545ed03447"
integrity sha512-L7qXtYz5Z+NdWyu38zaJrlHA/8H6rNFRZXe3ydym12UEEPPoefbVZ71b9YK2O6QP0u4pUlzMpMVM/Lsz2DJ4jg==
react-native-tab-view@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-3.1.1.tgz#1f8d7a835ab4f5b1b1407ec8dddc1053b53fa3c6"
integrity sha512-M5pRN6utQfytKWoKlKVzg5NbkYu308qNoW1khGTtEOTs1k14p2dHJ/BWOJoJYHKbPVUyZldbG9MFT7gUl4YHnw==
react-native-unimodules@~0.13.3:
version "0.13.3"