import * as React from 'react';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { Landing, MagicLinkConfirm } from 'screens';
import { NavigationRoutes } from '../enum';
const StackNavigator = createNativeStackNavigator();

export const Auth: React.FC = () => {
  return (
    <StackNavigator.Navigator
      screenOptions={{
        headerShown: false,
      }}
      initialRouteName={NavigationRoutes.Landing}
    >
      <StackNavigator.Screen name={NavigationRoutes.Landing} component={Landing} />
      <StackNavigator.Screen
        name={NavigationRoutes.MagicLinkConfirm}
        component={MagicLinkConfirm}
      />
    </StackNavigator.Navigator>
  );
};
