import React from "react"; import { createBottomTabNavigator } from "@react-navigation/bottom-tabs"; import { MaterialCommunityIcons } from "@expo/vector-icons"; import AccountNavigator from "./AccountNavigator"; import FeedNavigator from "./FeedNavigator"; import MessagesNavigator from "./MessagesNavigator"; import ForecastNavigator from "./ForecastNavigator"; import NewListingButton from "./NewListingButton"; import SharingDataOptionsNavigator from "./SharingDataOptionsNavigator"; import { NavigationContainer } from "@react-navigation/native"; import { createStackNavigator } from "@react-navigation/stack"; import Abbout from "../screens/Abbout"; import colors from "../config/colors"; const Tab = createBottomTabNavigator(); const Stack = createStackNavigator(); function tabScreens() { return ( ( ), }} /> ({ tabBarButton: () => ( navigation.navigate("SharingData", { screen: "Voltar", initial: false, }) } /> ), tabBarIcon: ({ color, size }) => ( ), })} /> ( ), }} /> ); } const AppNavigator = () => ( ( ), }} /> ); export default AppNavigator;