forked from cemaden-educacao/WPD-MobileApp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
574 B
23 lines
574 B
import React from "react";
|
|
import { createStackNavigator } from "@react-navigation/stack";
|
|
import LoginScreen from "../screens/LoginScreen";
|
|
import RegisterScreen from "../screens/RegisterScreen";
|
|
|
|
const Stack = createStackNavigator();
|
|
|
|
const AuthNavigator = () => (
|
|
<Stack.Navigator>
|
|
<Stack.Screen
|
|
name="Login"
|
|
component={LoginScreen}
|
|
options={{ headerShown: false }}
|
|
/>
|
|
<Stack.Screen
|
|
name="Register"
|
|
component={RegisterScreen}
|
|
options={{ headerShown: false }}
|
|
/>
|
|
</Stack.Navigator>
|
|
);
|
|
|
|
export default AuthNavigator;
|