eletrotupi / tcc/ frontend/app/(tabs)/history.tsx3ba261137ca571910bf859e5d20a337ed6675ea7
606 B | 20 lines Raw
1
import { ThemedText } from '@/components/misc/themed-text';
2
import { ThemedView } from '@/components/misc/themed-view';
3
import { ScreenLayout } from '@/components/ui/ScreenLayout';
4
import { useAuth } from '@/context/AuthContext';
5

6
export default function History() {
7
  const { user } = useAuth();
8

9
  return (
10
    <ScreenLayout userName={user.firstName} userAvatar={user.avatarURL}
11
      onNotificationPress={() => console.log('Notifications')}
12
      showNotificationBadge={true}>
13
      <ThemedView>
14
        <ThemedText>
15
          History
16
        </ThemedText>
17
      </ThemedView>
18
    </ScreenLayout>
19
  )
20
}