{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A self-contained item (a review, a card, a project) in its own file: Block tag article.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n// Source: packages/compose-gen/specs/organisms/article-block.json\n\npackage blocks\n\nimport (\n\t\"github.com/ui8kit/codegen/generated/templ/ui/box\"\n\t\"github.com/ui8kit/codegen/generated/templ/compose\"\n\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// ArticleBlockProps are the props of ArticleBlock; the values are the JSON shapes of the TypeScript props.\ntype ArticleBlockProps struct {\n\tTestid any `json:\"testid\"`\n\tClass string `json:\"className\"`\n}\n\n// A self-contained item (a review, a card, a project) in its own file: Block tag article.\ntempl ArticleBlock(p ArticleBlockProps) {\n\t{{ vTestid := p.Testid }}\n\t@compose.Block(compose.BlockProps{BoxProps: box.BoxProps{Tag: \"article\", Class: uiutils.S(uiutils.Cnv(p.Class)), Attrs: uiutils.Attrs(\"data-slot\", uiutils.Coalesce(vTestid, \"article-block\"))}}) {\n\t\t{ children... }\n\t}\n}\n",
      "path": "blocks/article-block.templ",
      "target": "blocks/article-block.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "article-block",
  "registryDependencies": [
    "block",
    "kit-box",
    "utils"
  ],
  "runtime": "templ",
  "title": "Article Block",
  "type": "registry:component"
}
