{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The list of a file tree. Put FileTreeItem in it. Arrow keys and type-ahead: attach `moveFocus` and `typeahead` from the utils to the keydown (vertical, no loop).",
  "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/**\n * The list of a file tree. Put FileTreeItem in it. Arrow keys and type-ahead: attach `moveFocus` and `typeahead`\n * from the utils to the keydown (vertical, no loop).\n */\nimport { type ReactNode } from \"react\";\nimport { Box } from \"../compose\";\nimport { cn } from \"../utils\";\n\nexport type FileTreeProps = {\n  label?: string;\n  className?: string;\n  children?: ReactNode;\n};\n\nexport function FileTree({ label, className, children }: FileTreeProps) {\n  return (\n    <Box className={cn(\"flex flex-col gap-2 p-2\", className)} role=\"tree\" aria-label={label} data-slot=\"file-tree\">\n      {children}\n    </Box>\n  );\n}\n",
      "path": "components/file-tree.tsx",
      "target": "components/file-tree.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "file-tree",
  "registryDependencies": [
    "compose",
    "utils"
  ],
  "runtime": "react",
  "title": "File Tree",
  "type": "registry:component"
}
