Skip to content

Instantly share code, notes, and snippets.

@webmasterdevlin
Created January 25, 2020 20:03
Show Gist options
  • Save webmasterdevlin/af8054e528922d9aea7eaed8ae30751c to your computer and use it in GitHub Desktop.
Save webmasterdevlin/af8054e528922d9aea7eaed8ae30751c to your computer and use it in GitHub Desktop.
import * as React from 'react';
import { NavigationNativeContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import LoginScreen from '../auth/LoginScreen';
const Stack = createStackNavigator();
const RootNavigation = () => {
return (
<NavigationNativeContainer>
<Stack.Navigator initialRouteName="loginScreen">
<Stack.Screen
name="loginScreen"
component={LoginScreen} />
</Stack.Navigator>
</NavigationNativeContainer>
);
};
export default RootNavigation;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment