/*
 * File: AuthNavigator.tsx
 * Description: Stack navigator for Auth module
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */

import React from 'react';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { LoginScreen, SetupBiometricScreen } from '../screens';
import { Colors } from '../../../../shared/src/theme';

export type AuthStackParamList = {
  Login: undefined;
  SetupBiometric: undefined;
};

const Stack = createNativeStackNavigator<AuthStackParamList>();

/**
 * AuthNavigator sets up stack navigation for Auth module
 */
const AuthNavigator: React.FC = () => (
  <Stack.Navigator
    initialRouteName="Login"
    screenOptions={{
      headerStyle: { backgroundColor: Colors.primary },
      headerTintColor: Colors.background,
      headerTitleStyle: { fontWeight: 'bold' },
    }}
  >
    <Stack.Screen
      name="Login"
      component={LoginScreen}
      options={{ title: 'Login',headerShown:false }}
    />
    <Stack.Screen
      name="SetupBiometric"
      component={SetupBiometricScreen}
      options={{ title: 'Setup Biometric' }}
    />
  </Stack.Navigator>
);

export default AuthNavigator;

/*
 * End of File: AuthNavigator.tsx
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */ 