/**
 * React Native Full App (https://store.enappd.com/product/react-native-full-app)
 *
 * Copyright © 2019-present Enappd. All rights reserved.
 *
 * This source code is licensed as per the terms found in the
 * LICENSE.md file in the root directory of this source tree.
 */
import { createAppContainer } from 'react-navigation';
import HomeContainer from '../views/redux/home/homeContainer';
import SearchContainer from '../views/redux/search/searchContainer';
import ProductListContainer from '../views/redux/productList/productListContainer';
import ProductDetailsContainer from '../views/redux/productDetails/productDetailsContainer';
import ViewmoreListContainer from '../views/redux/viemoreproductList/viewmoreListContainer';
import MycartContainer from '../views/redux/MyCart/MyCartContainer';
import DeliveryContainerComponent from '../views/redux/delivery/deliveryContainer';
import Checkoutcontainer from '../views/redux/Checkout/CheckoutContainer';
import LoginContainer from '../views/redux/Login/loginContainer';
import VerificationContainer from '../views/redux/otpVerification/verificationContainer';
import { createStackNavigator } from 'react-navigation-stack';

const ReduxNavigation = createStackNavigator(
  {
    Home: {
      screen: HomeContainer,
    },
    Search: {
      screen: SearchContainer,
    },
    Products: {
      screen: ProductListContainer,
    },
    ProductdetailsRedux: {
      screen: ProductDetailsContainer,
    },
    Viewmore: {
      screen: ViewmoreListContainer,
    },
    Mycart: {
      screen: MycartContainer,
    },
    DeliveryDetails: {
      screen: DeliveryContainerComponent,
    },
    Checkout: {
      screen: Checkoutcontainer,
    },
    Login: {
      screen: LoginContainer,
    },
    Verify: {
      screen: VerificationContainer,
    },
  },
  {
    initialRouteName: 'Home',
    headerMode: 'none',
  }
);

export default createAppContainer(ReduxNavigation);
