ViewPager not supported in Snack?

I tried to use the ViewPager 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:

  1. Click ‘Create new snack’
  2. In app.js add the line:
import ViewPager from '@react-native-community/viewpager';
  1. When the toast appears to add the package to package.json, click ‘Add’
  2. The above error is produced

Any help would be appreciated!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.