"use client"; import { useState } from "react"; import { Dialog, MenuList, NpcSay } from "../pixel"; import { faqs } from "../../lib/content"; import { Reveal } from "./reveal"; import { SectionHeader } from "./section-header"; import section from "./section.module.css"; import styles from "./faq-section.module.css"; export function FaqSection() { const [active, setActive] = useState(0); const faq = faqs[active]!; return (
({ label: item.question, onSelect: () => setActive(index) }))} />
); }