|
@ -22,20 +22,6 @@ const AppNavigator = () => ( |
|
|
), |
|
|
), |
|
|
}} |
|
|
}} |
|
|
/> |
|
|
/> |
|
|
<Tab.Screen |
|
|
|
|
|
name="Previsão" |
|
|
|
|
|
component={ForecastNavigator} |
|
|
|
|
|
options={{ |
|
|
|
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
|
|
|
<MaterialCommunityIcons |
|
|
|
|
|
name="check-circle" |
|
|
|
|
|
color={color} |
|
|
|
|
|
size={size} |
|
|
|
|
|
/> |
|
|
|
|
|
), |
|
|
|
|
|
}} |
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
<Tab.Screen |
|
|
<Tab.Screen |
|
|
name="SharingData" |
|
|
name="SharingData" |
|
|
component={SharingDataOptionsNavigator} |
|
|
component={SharingDataOptionsNavigator} |
|
@ -59,29 +45,43 @@ const AppNavigator = () => ( |
|
|
), |
|
|
), |
|
|
})} |
|
|
})} |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
<Tab.Screen |
|
|
<Tab.Screen |
|
|
name="Notificação" |
|
|
|
|
|
component={MessagesNavigator} |
|
|
|
|
|
|
|
|
name="Previsão" |
|
|
|
|
|
component={ForecastNavigator} |
|
|
options={{ |
|
|
options={{ |
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
<MaterialCommunityIcons |
|
|
<MaterialCommunityIcons |
|
|
name="bell" |
|
|
|
|
|
|
|
|
name="check-circle" |
|
|
color={color} |
|
|
color={color} |
|
|
size={size} |
|
|
size={size} |
|
|
/> |
|
|
/> |
|
|
), |
|
|
), |
|
|
}} |
|
|
}} |
|
|
/> |
|
|
/> |
|
|
<Tab.Screen |
|
|
|
|
|
name="Perfil" |
|
|
|
|
|
component={AccountNavigator} |
|
|
|
|
|
options={{ |
|
|
|
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
|
|
|
<MaterialCommunityIcons name="account" color={color} size={size} /> |
|
|
|
|
|
), |
|
|
|
|
|
}} |
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/* <Tab.Screen */} |
|
|
|
|
|
{/* name="Notificação" */} |
|
|
|
|
|
{/* component={MessagesNavigator} */} |
|
|
|
|
|
{/* options={{ */} |
|
|
|
|
|
{/* tabBarIcon: ({ color, size }) => ( */} |
|
|
|
|
|
{/* <MaterialCommunityIcons */} |
|
|
|
|
|
{/* name="bell" */} |
|
|
|
|
|
{/* color={color} */} |
|
|
|
|
|
{/* size={size} */} |
|
|
|
|
|
{/* /> */} |
|
|
|
|
|
{/* ), */} |
|
|
|
|
|
{/* }} */} |
|
|
|
|
|
{/* /> */} |
|
|
|
|
|
|
|
|
|
|
|
{/* <Tab.Screen */} |
|
|
|
|
|
{/* name="Perfil" */} |
|
|
|
|
|
{/* component={AccountNavigator} */} |
|
|
|
|
|
{/* options={{ */} |
|
|
|
|
|
{/* tabBarIcon: ({ color, size }) => ( */} |
|
|
|
|
|
{/* <MaterialCommunityIcons name="account" color={color} size={size} /> */} |
|
|
|
|
|
{/* ), */} |
|
|
|
|
|
{/* }} */} |
|
|
|
|
|
{/* /> */} |
|
|
</Tab.Navigator> |
|
|
</Tab.Navigator> |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|