react-navigation icon indicating copy to clipboard operation
react-navigation copied to clipboard

Import ScrollView from React Navigation

Open ruben-kasaz opened this issue 7 years ago • 1 comments

Current Behavior

As said in the documentation of React Navigation here

React Navigation export its own ScrollView component. But when I try to import it, it fails and shows me an error.

The import is :

Capture d’écran 2019-11-07 à 13 03 35

The error is :

Capture d’écran 2019-11-07 à 15 23 18

How to reproduce

I created a repo in github that shows the problem. You can clone it here

Your Environment

software version
react-navigation ^4.0.10
expo ^35.0.0
react-native-web ^0.11.7
yarn 1.9.4

ruben-kasaz avatar Nov 07 '19 14:11 ruben-kasaz

Hey @ruben-kasaz I used your repo to reproduce the issue that you are facing. To be honest with you after installing all needed dependencies I managed to run the project and I also used ScrollView from 'react-navigation'. I can not see the same issue as you are.. Please double check your dependencies in package.json.

pzatorski avatar Nov 07 '19 16:11 pzatorski