{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The reading figures of a post: minutes to read, views and likes, each with its glyph.",
  "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 reading figures of a post: minutes to read, views and likes, each with its glyph. */\nimport { type ReactNode } from \"react\";\nimport { Group, Text } from \"../compose\";\nimport { LucideIcon } from \"../icons/LucideIcon\";\nimport { tpl } from \"../utils\";\nimport type { Post } from \"../blocks/post-card.types\";\nimport type { PostExtras, PostSplitLabels } from \"../blocks/post-split.types\";\n\nexport type PostStatsProps = {\n  post: Post;\n  extras: PostExtras;\n  labels: PostSplitLabels;\n  align?: \"start\" | \"center\";\n};\n\nexport function PostStats({ post, extras, labels, align = \"start\" }: PostStatsProps) {\n  return (\n    <Group\n      gap=\"4\"\n      align=\"center\"\n      justify={align}\n      className=\"flex-wrap text-muted-foreground\"\n      data-slot=\"post-stats\"\n    >\n      <Group gap=\"2\" align=\"center\">\n        <LucideIcon name=\"clock\" size={16} />\n        <Text size=\"sm\">\n          {tpl(labels.minutes, post.minutes)}\n        </Text>\n      </Group>\n      <Group gap=\"2\" align=\"center\">\n        <LucideIcon name=\"eye\" size={16} />\n        <Text size=\"sm\">\n          {tpl(labels.views, extras.views)}\n        </Text>\n      </Group>\n      <Group gap=\"2\" align=\"center\">\n        <LucideIcon name=\"heart\" size={16} />\n        <Text size=\"sm\">\n          {tpl(labels.likes, extras.likes)}\n        </Text>\n      </Group>\n    </Group>\n  );\n}\n",
      "path": "components/post-stats.tsx",
      "target": "components/post-stats.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "post-stats",
  "registryDependencies": [
    "compose",
    "lucide-icon",
    "post-card",
    "post-split",
    "utils"
  ],
  "runtime": "react",
  "title": "Post Stats",
  "type": "registry:component"
}
