From fc00582125838be46a53ee61343a65ebcd257d0f Mon Sep 17 00:00:00 2001 From: Ren Juan Date: Sun, 22 Aug 2021 04:33:44 +0000 Subject: [PATCH] * --- Ejectable/navigation/BottomTabNavigator.tsx | 99 --------------------- 1 file changed, 99 deletions(-) delete mode 100644 Ejectable/navigation/BottomTabNavigator.tsx diff --git a/Ejectable/navigation/BottomTabNavigator.tsx b/Ejectable/navigation/BottomTabNavigator.tsx deleted file mode 100644 index 5bd96c43..00000000 --- a/Ejectable/navigation/BottomTabNavigator.tsx +++ /dev/null @@ -1,99 +0,0 @@ -/** - * Learn more about createBottomTabNavigator: - * https://reactnavigation.org/docs/bottom-tab-navigator - */ - -import { Ionicons } from '@expo/vector-icons'; -import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'; -import { createStackNavigator } from '@react-navigation/stack'; -import * as React from 'react'; -import Colors from '../constants/Colors'; -import useColorScheme from '../hooks/useColorScheme'; -import HomeScreen from '../screens/HomeScreen'; -import SettingsScreen from '../screens/SettingsScreen'; -import TripScreen from '../screens/TripScreen'; -import { HomeParamList, BottomTabParamList, TripParamList, SettingsParamList } from '../types'; - -export const BottomTab = createBottomTabNavigator(); - -export default function BottomTabNavigator() { - const colorScheme = useColorScheme(); - - return ( - - , - }} - /> - , - }} - /> - , - }} - /> - - ); -} - -// You can explore the built-in icon families and icons on the web at: -// https://icons.expo.fyi/ -function TabBarIcon(props: { name: React.ComponentProps['name']; color: string }) { - return ; -} - -// Each tab has its own navigation stack, you can read more about this pattern here: -// https://reactnavigation.org/docs/tab-based-navigation#a-stack-navigator-for-each-tab -const HomeStack = createStackNavigator(); - -function HomeNavigator() { - return ( - - - - ); -} - -export const TripStack = createStackNavigator(); - -function TripNavigator() { - return ( - - - - ); -} - -const SettingsStack = createStackNavigator(); - -function SettingsNavigator() { - return ( - - - - ); -}