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 SharingDataNavigator from "./SharingDataNavigator"; import routes from "./routes"; const Tab = createBottomTabNavigator(); const AppNavigator = () => ( ( ), }} /> ( ), }} /> ({ tabBarButton: () => ( navigation.navigate(routes.SHARING_DATA)} /> ), tabBarIcon: ({ color, size }) => ( ), })} /> ( ), }} /> ( ), }} /> ); export default AppNavigator;