"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). * Inset: **4/32** stacked, **96/64** from `md` (22130:889249), **160/96** from `lg` (22130:889247 / 22135:890328). * Rows: **s** below `lg`, **m** at `lg`, **l** at `xl` via `xlSize`. * Section title: Large Heading below `lg`; X Large Heading at `lg`; XX Large Heading at `xl` (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);