{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The end of the checkout form: the consent checkbox, the submit button and the legal line.",
  "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 end of the checkout form: the consent checkbox, the submit button and the legal line. */\nimport { type JSX } from \"solid-js\";\nimport { Button, Checkbox, Group, Label, Stack, Text } from \"../compose\";\nimport { cn, tpl } from \"../utils\";\n\nexport type CheckoutSubmitProps = {\n  id: string;\n  consent: string;\n  submit: string;\n  legal: string;\n};\n\nexport function CheckoutSubmit({ id, consent, submit, legal }: CheckoutSubmitProps) {\n  return (\n    <Stack gap=\"4\" align=\"start\" data-slot=\"checkout-submit\">\n      <Group gap=\"2\" align=\"center\" class={cn(\"w-fit\", \"\")}>\n        <Checkbox name=\"consent\" id={tpl(\"{0}-consent\", id)} />\n        <Label for={tpl(\"{0}-consent\", id)} class=\"text-sm\">\n          {consent}\n        </Label>\n      </Group>\n      <Button variant=\"default\" size=\"lg\" type=\"submit\">\n        {submit}\n      </Button>\n      <Text size=\"xs\" class=\"text-muted-foreground\">\n        {legal}\n      </Text>\n    </Stack>\n  );\n}\n",
      "path": "components/checkout-submit.tsx",
      "target": "components/checkout-submit.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "solid",
      "component"
    ]
  },
  "name": "checkout-submit",
  "registryDependencies": [
    "compose",
    "utils"
  ],
  "runtime": "solid",
  "title": "Checkout Submit",
  "type": "registry:component"
}
