import React, { useContext, 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";
import { UserContext, UserContextProvider } from "./context/UserContext";
import AgregarInvitados from "./components/AgregarInvitados";
const Stack = createNativeStackNavigator();
const Tab = createBottomTabNavigator();
function HomeTab({ route }) {
const { user } = useContext(UserContext);
const [selected, setSelected] = useState(0);
return (
(} color="#D7A86E" size="md" />)}} onclick={() => setSelected(0)}
/>
(} color="#D7A86E" size="md" />)} } onclick={() => setSelected(1)} />
(} color="#D7A86E" size="md" />)} } onclick={() => setSelected(1)} />
(} color="#D7A86E" size="md" />)}} onclick={() => setSelected(2)} />
)
}
export default function App() {
return (
);
}