|
|
@ -2,7 +2,7 @@ import React from "react"; |
|
|
|
import { createBottomTabNavigator } from "@react-navigation/bottom-tabs"; |
|
|
|
import { MaterialCommunityIcons } from "@expo/vector-icons"; |
|
|
|
|
|
|
|
import AccountNavigator from "./AccountNavigator"; |
|
|
|
import DataNavigator from "./DataNavigator"; |
|
|
|
import FeedNavigator from "./FeedNavigator"; |
|
|
|
import MessagesNavigator from "./MessagesNavigator"; |
|
|
|
import ForecastNavigator from "./ForecastNavigator"; |
|
|
@ -74,11 +74,15 @@ const AppNavigator = () => ( |
|
|
|
}} |
|
|
|
/> |
|
|
|
<Tab.Screen |
|
|
|
name="Perfil" |
|
|
|
component={AccountNavigator} |
|
|
|
name="Dados" |
|
|
|
component={DataNavigator} |
|
|
|
options={{ |
|
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
|
<MaterialCommunityIcons name="account" color={color} size={size} /> |
|
|
|
<MaterialCommunityIcons |
|
|
|
name="layers-triple" |
|
|
|
color={color} |
|
|
|
size={size} |
|
|
|
/> |
|
|
|
), |
|
|
|
}} |
|
|
|
/> |
|
|
|