{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The questions of FaqSplit as native disclosures, one open at a time.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/** The questions of FaqSplit as native disclosures, one open at a time. */\nimport { For, type JSX } from \"solid-js\";\nimport { Disclosure, Stack, Summary, Text } from \"../compose\";\nimport type { Question, FaqSplitLabels } from \"../blocks/faq-split.types\";\n\nexport type FaqDisclosuresProps = {\n  items: Question[];\n  name: string;\n};\n\nexport function FaqDisclosures({ items, name }: FaqDisclosuresProps) {\n  return (\n    <Stack gap=\"0\" align=\"stretch\" data-slot=\"faq\">\n      <For each={items ?? []}>{(q) => (\n        <Disclosure variant=\"item\" name={name} data-slot=\"faq-item\">\n          <Summary variant=\"item\">\n            {q.question}\n          </Summary>\n          <Text size=\"sm\" class=\"pb-4 text-muted-foreground\">\n            {q.answer}\n          </Text>\n        </Disclosure>\n      )}</For>\n    </Stack>\n  );\n}\n",
      "path": "components/faq-disclosures.tsx",
      "target": "components/faq-disclosures.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "solid",
      "component"
    ]
  },
  "name": "faq-disclosures",
  "registryDependencies": [
    "compose",
    "faq-split",
    "utils"
  ],
  "runtime": "solid",
  "title": "Faq Disclosures",
  "type": "registry:component"
}
