Created
September 26, 2019 12:19
-
-
Save paour/c70b6e80494560ece4e4cd0998143f2b to your computer and use it in GitHub Desktop.
A patch to switch to RNCViewPager.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/react-native-carousel-view/src/carouselPager.android.js b/node_modules/react-native-carousel-view/src/carouselPager.android.js | |
index 997f2e5..29e0ec3 100644 | |
--- a/node_modules/react-native-carousel-view/src/carouselPager.android.js | |
+++ b/node_modules/react-native-carousel-view/src/carouselPager.android.js | |
@@ -2,9 +2,7 @@ | |
* @flow | |
*/ | |
import React, {Component} from 'react'; | |
-import { | |
- ViewPagerAndroid, | |
-} from 'react-native'; | |
+import ViewPagerAndroid from '@react-native-community/viewpager'; | |
type Props = { | |
width: number, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment