import React from "react"; import { createBottomTabNavigator } from "@react-navigation/bottom-tabs"; import { MaterialCommunityIcons } from "@expo/vector-icons"; import DataNavigator from "./DataNavigator"; import FeedNavigator from "./FeedNavigator"; import MessagesNavigator from "./MessagesNavigator"; import ForecastNavigator from "./ForecastNavigator"; import NewListingButton from "./NewListingButton"; import SharingDataOptionsNavigator from "./SharingDataOptionsNavigator"; const Tab = createBottomTabNavigator(); const AppNavigator = () => ( ( ), }} /> ( ), }} /> ({ tabBarButton: () => ( navigation.reset({ index: 0, routes: [{ name: "SharingData" }], }) } /> ), tabBarIcon: ({ color, size }) => ( ), })} /> ( ), }} /> ( ), }} /> ); export default AppNavigator;