import React from 'react' import { Text, View } from 'react-native' import { NavigationContainer } from '@react-navigation/native' import { createBottomTabNavigator } from '@react-navigation/bottom-tabs' import { TokenContext } from '../Context/Context' import TodoListsScreen from '../Screen/TodoListsScreen' import HomeScreen from '../Screen/HomeScreen' import SignInScreen from '../Screen/SignInScreen' import SignOutScreen from '../Screen/SignOutScreen' import SignUpScreen from '../Screen/SignUpScreen' const Tab = createBottomTabNavigator() export default function Navigation() { return ( {([token, setToken]) => ( {token == null ? ( ) : ( )} )} ) }