Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import { createStackNavigator, createAppContainer } from "react-navigation";
import Login from "./src/components/Login";
import MainChat from "./src/components/MainChat";
import OTP from "./src/components/OTP";
const AppNavigator = createStackNavigator(
Login: {
screen: Login
MainChat: {
screen: MainChat
initialRouteName: "Login"
export default createAppContainer(AppNavigator);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.