import React from "react"; // One graded row: a PASS/FAIL toggle (kind="verdict") or a numeric count input // (kind="count"), plus a rationale textarea. Used by EventCard, VideoLevelAxes, // and the Training page's qualification quiz - the single place PASS/FAIL and // count UI is implemented. // // Rationale is always optional (never blocks saving/continuing) - it's // strongly encouraged on real videos, especially for FAIL, but not required. export default function AxisItemRow({ axisKey, title, summary, kind, value, rationale, onChangeValue, onChangeRationale, isPractice = false, grading }) { const showGrade = grading && grading.checked; return (
{summary}
} {kind === "count" ? ( ) : (