Create Stack Navigator foi transferido para react-navigation stack
import { createStackNavigator } from 'react-navigation-stack'
Blushing Boar
import { createStackNavigator } from 'react-navigation-stack'
npm i react-navigation-stack //or yarn add react-navigation-stack
For the StackNavigator you have to install react-navigation-stack using:
npm i react-navigation-stack //or yarn add react-navigation-stack
after that, go to the file where you define createStackNavigator and change:
import { createStackNavigator } from 'react-navigation'
to:
import { createStackNavigator } from 'react-navigation-stack'