ViewPagerAndroid已从React Native中删除

时间:2020-03-12 12:36:24

标签: react-native

我正在尝试在React-Native中打开项目,但是在摄影中遇到了问题。我需要删除ViewPagerAndroid吗?

ViewPagerAndroid已从React Native中移除。现在可以从“ react-native-viewpager”安装并导入它,而不是从“ react-native”

"dependencies": {
    "@mindinventory/react-native-tab-bar-interaction": "^1.0.3",
    "@react-native-community/async-storage": "^1.8.1",
    "@react-native-community/viewpager": "^3.3.0",
    "react": "16.9.0",
    "react-native": "0.61.5",
    "react-native-gesture-handler": "^1.6.0",
    "react-native-instagram-embed": "0.0.6",
    "react-native-rn-cardview": "^1.0.4",
    "react-native-scrollable-tab-view": "^1.0.0",
    "react-native-scrollable-tab-view-mask-bar": "^1.0.8",
    "react-native-svg": "^12.0.3",
    "react-native-vector-icons": "^6.6.0",
    "react-navigation": "^4.2.2",
    "rn-viewpager": "^1.2.9"
  },

enter image description here

0 个答案:

没有答案