Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RN-RNav - 10 - Updating RootNavigator
import React from "react";
import {StackNavigator} from "react-navigation";
import LoginScreen from "./external/Login";
import Internal from "./internal";
export default StackNavigator(
{
External: {screen: LoginScreen},
Internal: {screen: Internal}
},
{
initialRouteName: "External"
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment