"use client"; import { memo } from "react"; import LayoutAccordion from "../../layout/Accordion"; import type { FaqAccordionViewProps } from "./Accordion.types"; /** * Figma: "Sections / Accordion" (22130-889248; mobile FAQ 22132-889380). **xl** rows **Large** via `xlSize` (22135:890328). * Section title: Large Heading (32px, lh 40) below `lg`; X Large Heading (36px, lh 44) at `lg`; XX Large Heading (40px, lh 52) at `xl` (Figma desktop frame 22135:890398). */ function FaqAccordionView({ title, items, size, lgSize, xlSize, headingId, className = "", }: FaqAccordionViewProps) { return (

{title}

{items.map((item, index) => ( {item.answer} ))}
); } FaqAccordionView.displayName = "FaqAccordionView"; export default memo(FaqAccordionView);