@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: https://github.com/facebook/react-native/pull/33095

Reviewed By: cortinico

Differential Revision: D34216746

Pulled By: ShikaSD

fbshipit-source-id: c813d11557d0abc08ef4350538e2f211417f025b
This commit is contained in:
maaxg
2022-02-16 04:44:55 -08:00
committed by Facebook GitHub Bot
parent 8935d6e697
commit 7e8cce3d2d
+2 -2
View File
@@ -647,8 +647,8 @@ if (__DEV__) {
invariant(
false,
'ViewPagerAndroid has been removed from React Native. ' +
"It can now be installed and imported from '@react-native-community/viewpager' instead of 'react-native'. " +
'See https://github.com/callstack/react-native-viewpager',
"It can now be installed and imported from 'react-native-pager-view' instead of 'react-native'. " +
'See https://github.com/callstack/react-native-pager-view',
);
},
});