blob: 6c5daf8f157e3cd54fbbbb1bfaad24e07ff153a3 (
plain) (
tree)
|
|
import React from 'react';
import { createStackNavigator } from '@react-navigation/stack';
import LoginScreen from '../screens/Auth/LoginScreen';
import MallSelectionScreen from '../screens/MallSelectionScreen';
import ProductScannerScreen from '../screens/ProductScannerScreen';
import CartScreen from '../screens/Cart/CartScreen';
import CheckoutScreen from '../screens/Checkout/CheckoutScreen';
const Stack = createStackNavigator();
const AppNavigator = () => (
<Stack.Navigator initialRouteName="Login">
<Stack.Screen name="Login" component={LoginScreen} />
<Stack.Screen name="MallSelection" component={MallSelectionScreen} />
<Stack.Screen name="ProductScanner" component={ProductScannerScreen} />
<Stack.Screen name="Cart" component={CartScreen} />
<Stack.Screen name="Checkout" component={CheckoutScreen} />
</Stack.Navigator>
);
export default AppNavigator;
|