import React from "react"; import { NavigationContainer } from "@react-navigation/native"; import { createNativeStackNavigator } from "@react-navigation/native-stack"; import { createBottomTabNavigator } from "@react-navigation/bottom-tabs"; import { Entypo, FontAwesome, Ionicons } from "@expo/vector-icons"; import OrderDetails from "../src/screens/OrderDetails"; import OrdersFollowUp from "../src/screens/OrdersFollowUp"; import { Dimensions } from "react-native"; import Splash from "../src/screens/Splash"; import Home from "../src/screens/Home"; import Products from "../src/screens/Products"; import Login from "../src/screens/Login"; import Otp from "../src/screens/Otp"; import Product from "../src/screens/Product"; import QR from "../src/screens/QR"; import Faq from "../src/screens/Faq" import Activation from "../src/screens/Activation"; import { connect } from "react-redux"; import i18n from "../src/services/i18n"; import { useTranslation } from "react-i18next"; import Profile from "../src/screens/Profile"; import Videos from "../src/screens/Videos"; import Exams from "../src/screens/Exams"; import ShoppingCart from "../src/screens/ShoppingCart"; const width = Dimensions.get("window").width; const Tab = createBottomTabNavigator(); const BottomTabNavigator = () => { return ( ( ), }} /> ( ), }} /> ( ), }} /> ( ), }} /> ); }; const HomeStack = createNativeStackNavigator(); const HomeStackScreen = () => { return ( ); }; const ProductsStack = createNativeStackNavigator(); const ProductsStackScreen = () => { return ( ); }; const AuthStack = createNativeStackNavigator(); const AuthStackScreen = () => { return ( ); }; const OrderStack = createNativeStackNavigator(); const OrderStackScreen = () => { return( ); } const Stack = createNativeStackNavigator(); const Navigation = ({ profile }) => { return ( ); }; const mapStateToProps = (state) => { return { profile: state.profile, config: state.config, }; }; export default connect(mapStateToProps)(Navigation);