I tried to use the ViewPage
r component in a snack, but it produces the follow error:
Device: (895:881) Unable to resolve module 'module://react-native/Libraries/Utilities/dismissKeyboard.js'
Evaluating module://react-native/Libraries/Utilities/dismissKeyboard.js
Evaluating module://@react-native-community/viewpager.js
Evaluating module://App.js.js
Loading module://App.js
This happens on any new snack.
Steps to reproduce:
- Click ‘Create new snack’
- In app.js add the line:
import ViewPager from '@react-native-community/viewpager';
- When the toast appears to add the package to package.json, click ‘Add’
- The above error is produced
Any help would be appreciated!