Skip to content

Instantly share code, notes, and snippets.

Embed
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 "@bit/krissnawat.my-react-native-collection.otp";
const AppNavigator = createStackNavigator(
{
Login: {
screen: Login
},
MainChat: {
screen: MainChat
},
OTP: OTP
},
{
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.