import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import LoginScreen from '../Screens/Auth/LoginScreen';
import { NavigationKeys } from '../constants/navigationKeys';
import SignupScreen from '../Screens/Auth/SignupScreen';

const Stack = createNativeStackNavigator();

const AuthNavigator: React.FC = () => {
	return (
		<Stack.Navigator initialRouteName={NavigationKeys.LoginScreen} screenOptions={{ headerShown: false }}>
			<Stack.Screen name={NavigationKeys.LoginScreen} component={LoginScreen} />
			<Stack.Screen name={NavigationKeys.SignupScreen} component={SignupScreen} />
		</Stack.Navigator>
	);
};

export default AuthNavigator;
