import { Trash2 } from 'lucide-react'; import { downloadUrl } from '../../api/files'; import type { FileItem } from '../../types'; interface FileListRowProps { file: FileItem; onDelete: (id: string) => void; } export function FileListRow({ file, onDelete }: FileListRowProps) { return ( {file.kind === 'image' && ( )}

{file.name}

{file.extLabel}

{file.size} {file.modified}
); }