type Props = { problem: string; onCodeChange: (code: string) => void; currentScore: number | null; }; export default function GolfPlayAppGaming({ problem, onCodeChange, currentScore, }: Props) { const handleTextChange = (e: React.ChangeEvent) => { onCodeChange(e.target.value); }; return (
TODO
{problem}
Score: {currentScore == null ? "-" : `${currentScore}`}
); }