"use client"; import { memo } from "react"; import type { FourQuestionTone, FourQuestionsViewProps, } from "./FourQuestions.types"; const TONE_CLASS: Record = { yellow: "bg-[var(--color-surface-invert-brand-secondary)]", teal: "bg-[var(--color-surface-invert-brand-teal)]", lavender: "bg-[var(--color-surface-invert-brand-lavender)]", red: "bg-[var(--color-surface-invert-brand-red)]", }; function FourQuestionsView({ heading, cards, wishHeading, wishParagraphs, statsHeading, statsSource, stats, }: FourQuestionsViewProps) { return (

{heading}

{wishHeading}

{wishParagraphs.map((paragraph) => (

{paragraph}

))}

{statsHeading}

{statsSource}

{stats.map((stat) => (
{stat.value}
{stat.line}
))}
); } FourQuestionsView.displayName = "FourQuestionsView"; export default memo(FourQuestionsView);