import { Trash2 } from 'lucide-react' import type { FileManagerState } from './useFileManager' import { FileRow } from './FileManagerRow' export function TrashView(S: FileManagerState) { const { trashFiles, loadingTrash, t } = S return (
{loadingTrash ? (
) : trashFiles.length === 0 ? (

{t('files.trashEmpty') || 'Trash is empty'}

) : (
{trashFiles.map(file => )}
)}
) }