Skip to content

Commit 7e8cce3

Browse files
maaxgfacebook-github-bot
authored andcommitted
@react-native-community/viewpager is no longer supported (#33095)
Summary: This pull request makes a simple change in the link of the lib [react-native-community/viewpager](https://www.npmjs.com/package/react-native-community/viewpager) that is no longer supported, the recommendation it's to use [react-native-pager-view](https://github.com/callstack/react-native-pager-view) instead. ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [Android] [Changed] - ViewPagerAndroid recommendation link. Pull Request resolved: #33095 Reviewed By: cortinico Differential Revision: D34216746 Pulled By: ShikaSD fbshipit-source-id: c813d11557d0abc08ef4350538e2f211417f025b
1 parent 8935d6e commit 7e8cce3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -647,8 +647,8 @@ if (__DEV__) {
647647
invariant(
648648
false,
649649
'ViewPagerAndroid has been removed from React Native. ' +
650-
"It can now be installed and imported from '@react-native-community/viewpager' instead of 'react-native'. " +
651-
'See https://github.com/callstack/react-native-viewpager',
650+
"It can now be installed and imported from 'react-native-pager-view' instead of 'react-native'. " +
651+
'See https://github.com/callstack/react-native-pager-view',
652652
);
653653
},
654654
});

0 commit comments

Comments
 (0)