import { Pressable, StyleSheet, Text, View } from 'react-native'; import { useAuthSession } from '@/providers/AuthProvider'; export default function HomeScreen() { const { user, logout } = useAuthSession(); return ( Inicio Bienvenido{user?.displayName ? `, ${user.displayName}` : ''} {user?.email} Cerrar sesión ); } const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', padding: 24, gap: 12, }, title: { fontSize: 28, fontWeight: '700', }, subtitle: { fontSize: 18, }, email: { color: '#555', marginBottom: 20, }, button: { backgroundColor: '#c62828', paddingVertical: 14, borderRadius: 10, alignItems: 'center', }, buttonText: { color: '#fff', fontWeight: '600', }, });