import React from "react"; import { NavigationContainer } from "@react-navigation/native"; import { createNativeStackNavigator } from "@react-navigation/native-stack"; import BottomTabNavigator from "./BottomNavigation"; import Splash from "../src/screens/Splash"; import Home from "../src/screens/Home"; import Login from "../src/screens/Login"; import Otp from "../src/screens/Otp"; import Product from "../src/screens/Product"; import QR from "../src/screens/QR/index"; 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 OrderDetails from "../src/screens/OrderDetails"; const Stack = createNativeStackNavigator(); const Navigation = () => { return ( ); }; const mapStateToProps = (state) => { return { profile: state.profile, config: state.config, }; }; export default connect(mapStateToProps)(Navigation);