"use client"; import type { ReactNode } from "react"; import KatexRenderer from "@/components/math/KatexRenderer"; interface AnswerResultLineProps { expressionLatex: string; userAnswerLatex: string; correctAnswerLatex: string; correct: boolean; prefix?: ReactNode; } export default function AnswerResultLine({ expressionLatex, userAnswerLatex, correctAnswerLatex, correct, prefix, }: AnswerResultLineProps) { return (
  • {prefix} {correct ? ( ) : ( <> × ( ) )}
  • ); }