'use client' import type { OCRStats } from '../types' export default function StatsTab({ stats }: { stats: OCRStats | null }) { return (
{stats?.total_items || 0}
{stats?.labeled_items || 0}
{stats?.pending_items || 0}
{stats?.accuracy_rate || 0}%
Bestaetigt
{stats?.confirmed_items || 0}
Korrigiert
{stats?.corrected_items || 0}
Exportierbar
{stats?.exportable_items || 0}
Durchschn. Label-Zeit
{stats?.avg_label_time_seconds || 0}s
{Math.round((stats.labeled_items / stats.total_items) * 100)}% abgeschlossen