import React,{useState} from "react"; import { NativeBaseProvider, Icon } from "native-base"; import { NavigationContainer } from '@react-navigation/native'; import { createNativeStackNavigator } from '@react-navigation/native-stack'; import { createBottomTabNavigator} from '@react-navigation/bottom-tabs'; import LogIn from "./components/LogIn"; import Home from "./components/Home"; import RecoverPassword from "./components/RecoverPassword"; import Reservas from "./components/Reservas"; import Profile from "./components/Profile"; import { MaterialCommunityIcons } from '@expo/vector-icons'; import AreaComun from "./components/AreaComun"; const Stack = createNativeStackNavigator(); const Tab = createBottomTabNavigator(); function HomeTab({route}) { const [selected, setSelected] = useState(0); const user = route.params; console.log(user); return ( (} color="#D7A86E" size="md" />)}} onclick={() => setSelected(0)} /> (} color="#D7A86E" size="md" />)} } onclick={() => setSelected(1)} /> (} color="#D7A86E" size="md" />)}} onclick={() => setSelected(2)} /> ) } export default function App() { return ( ); }