import { IAnswer } from "@/data"; import styles from "./styles.module.css"; interface IAnswerProps { classNameContainer?: string; answer: IAnswer; type?: "multiply" | "single" | "only-text-single"; active?: boolean; onClick: () => void; } function Answer({ answer, type = "single", active, classNameContainer = "", onClick, }: IAnswerProps) { return (
{answer.answer}
{type === "multiply" && (