import React from 'react'; import { View, StyleSheet } from 'react-native'; import { Card, Text, Button, Divider, List } from 'react-native-paper'; import { SafeAreaView } from 'react-native-safe-area-context'; import { useAuth } from '../hooks/useAuth'; export function SettingsScreen() { const { user, logout } = useAuth(); return ( {user?.displayName} {user?.email} {user?.role} } /> } /> ); } const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: '#FAFAFA', }, content: { flex: 1, padding: 16, }, card: { marginBottom: 16, }, name: { fontWeight: '700', marginBottom: 4, }, email: { color: '#757575', marginBottom: 8, }, roleBadge: { alignSelf: 'flex-start', backgroundColor: '#E3F2FD', paddingHorizontal: 12, paddingVertical: 4, borderRadius: 12, }, roleText: { color: '#1565C0', fontWeight: '600', }, logoutButton: { marginTop: 'auto', borderColor: '#D32F2F', }, });