import { FileText, Trash2, Calendar } from 'lucide-react'; interface HistoryItem { id: string; date: string; transcription: string; // This might be raw text or path? summary: string; subject?: string; filename?: string; } interface HistoryViewProps { history: HistoryItem[]; onLoad: (item: HistoryItem) => void; onDelete: (id: string) => void; } export default function HistoryView({ history, onLoad, onDelete }: HistoryViewProps) { return (
No history found.
{item.summary ? item.summary.substring(0, 150) + "..." : "No summary available."}