text: "use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=void 0;var React=_interopRequireWildcard(require("react"));var _bottomTabs=require("@react-navigation/bottom-tabs");var _native=require("@react-navigation/native");var _routes=require("../routes");var _DrawerNavigator=_interopRequireDefault(require("./DrawerNavigator"));var _MaterialIcons=_interopRequireDefault(require("react-native-vector-icons/MaterialIcons"));var _Styles=require("../Styles");var _styles=require("./styles");var _jsxFileName="/home/matheus/Projects/SmartMarket/src/Navigation/MainTabNavigator.js";var Tab=(0,_bottomTabs.createBottomTabNavigator)();function MainTabNavigator(){var _this=this;var navigation=(0,_native.useNavigation)();return React.createElement(Tab.Navigator,{initialRouteName:"Products",screenOptions:function screenOptions(_ref){var route=_ref.route;return{tabBarIcon:function tabBarIcon(_ref2){var color=_ref2.color,size=_ref2.size;var iconName;switch(route.name){case'Products':iconName='store';break;case'Pay':iconName='attach-money';break;case'Purchases':iconName='receipt';break;default:iconName='attach-money';break;}return React.createElement(_MaterialIcons["default"],{name:iconName,size:size,color:color,__self:_this,__source:{fileName:_jsxFileName,lineNumber:40,columnNumber:28}});}};},tabBarOptions:{activeTintColor:_Styles.colors.primary,inactiveTintColor:_Styles.colors.secondary,showLabel:false},__self:this,__source:{fileName:_jsxFileName,lineNumber:20,columnNumber:9}},React.createElement(Tab.Screen,{name:"Products",component:_routes.Products,__self:this,__source:{fileName:_jsxFileName,lineNumber:49,columnNumber:13}}),React.createElement(Tab.Screen,{name:"Pay",component:_routes.Pay,options:function options(){return{tabBarIcon:function tabBarIcon(_ref3){var tintColor=_ref3.tintColor;return React.createElement(_styles.IconTabRound,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:55,columnNumber:25}},React.createElement(_MaterialIcons["default"],{name:"attach-money",size:26,color:_Styles.colors.white,__self:_this,__source:{fileName:_jsxFileName,lineNumber:56,columnNumber:29}}));}};},__self:this,__source:{fileName:_jsxFileName,lineNumber:50,columnNumber:13}}),React.createElement(Tab.Screen,{name:"Puchases",component:_routes.Purchases,__self:this,__source:{fileName:_jsxFileName,lineNumber:61,columnNumber:13}}));}var _default=MainTabNavigator;exports["default"]=_default;