Skip to content

Commit

Permalink
@react-native-community/viewpager is no longer supported (#33095)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
maaxg authored and facebook-github-bot committed Feb 16, 2022
1 parent 8935d6e commit 7e8cce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);
},
});
Expand Down

0 comments on commit 7e8cce3

Please sign in to comment.