'use client' import type { GroundTruthStatus } from './ground-truth-types' interface ValidationPanelProps { notes: string score: number | null status: GroundTruthStatus isGroundTruth: boolean gtSaving: boolean gtMessage: string onNotesChange: (notes: string) => void onScoreChange: (score: number | null) => void onSave: () => Promise onMarkGroundTruth: () => Promise onFinish: () => void } export function ValidationPanel({ notes, score, status, isGroundTruth, gtSaving, gtMessage, onNotesChange, onScoreChange, onSave, onMarkGroundTruth, onFinish, }: ValidationPanelProps) { return ( <> {/* Notes and score */}
onScoreChange(e.target.value ? parseInt(e.target.value) : null)} className="w-20 text-sm px-2 py-1 border rounded dark:border-gray-600 dark:bg-gray-700 dark:text-white" />
{[1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(v => ( ))}