import React from 'react'; import { View, Text, ScrollView, TouchableOpacity, Alert } from 'react-native'; import { useAppTheme } from '@theme'; import { ScreenHeader } from '@components'; import { ClipboardIcon, ChevronRightIcon } from '@icons'; import { useNavigation } from '@react-navigation/native'; import { getStyles } from './documentsScreen.styles'; export const DocumentsScreen: React.FC = () => { const { colors } = useAppTheme(); const styles = getStyles(colors); const navigation = useNavigation(); const documentsList = [ { id: 'dl', title: 'Driving License', sub: 'Verified', status: 'verified' }, { id: 'aadhaar', title: 'Aadhaar Card', sub: 'Verified', status: 'verified' }, { id: 'rc', title: 'Vehicle RC', sub: 'Verified', status: 'verified' }, { id: 'insurance', title: 'Insurance', sub: 'Expires on 12 May 2026', status: 'expiring' }, { id: 'vehicle_photo', title: 'Vehicle Photo', sub: 'Verified', status: 'verified' }, { id: 'profile_photo', title: 'Profile Photo', sub: 'Verified', status: 'verified' }, ]; const handleDocClick = (title: string) => { Alert.alert('Document Preview', `Opening document view for ${title}...`); }; return ( {/* Navigation Screen Header */} navigation.goBack()} /> {documentsList.map((doc) => ( handleDocClick(doc.title)} > {doc.title} {doc.sub} {doc.status === 'verified' ? 'VERIFIED' : 'ACTIVE'} ))} ); }; export default DocumentsScreen;