Log React Native + Firebase with the "SwitchNavigator" command

Erro (undefined is not a function (close to … (0, _reactNavigation.SwitchNavigator) …)) ao compilar aplicação.

Previously two years ago Housing for a "Main".

import React of "react" & # 39;
import {StyleSheet, Platform, Image, Text, View} from & # 39; react-native & # 39;
import {SwitchNavigator} from & # 39; react-navigation & # 39;

// import the different screens
Import Loading from & # 39; ./ Loading & # 39;
import SignUp from & # 39; ./ SignUp & # 39;
import Login from .// Login & # 39;
Import Hand of 'Hand' & # 39;

// create the navigation stack of our application
const App = SwitchNavigator (
{
Loading,
S & # 39; register
S & # 39; identify,
main
}
{
initialRouteName: Loading & # 39;
}
)

default export