{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "dialog-demo",
  "type": "registry:block",
  "description": "Basic",
  "files": [
    {
      "path": "registry/predict/components/dialog/dialog-demo.tsx",
      "content": "\"use client\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport {\n  Dialog,\n  DialogClose,\n  DialogContent,\n  DialogDescription,\n  DialogFooter,\n  DialogHeader,\n  DialogTitle,\n  DialogTrigger,\n} from \"@workspace/ui/components/dialog\"\nimport { Input } from \"@workspace/ui/components/input\"\n\nexport function DialogDemo() {\n  return (\n    <Dialog>\n      <DialogTrigger render={<Button variant=\"outline\" />}>\n        Edit profile\n      </DialogTrigger>\n      <DialogContent>\n        <DialogHeader>\n          <DialogTitle>Edit profile</DialogTitle>\n          <DialogDescription>\n            Reference ranges use your age and sex. Keep them current.\n          </DialogDescription>\n        </DialogHeader>\n        <div className=\"grid gap-3\">\n          <label className=\"grid gap-1.5 text-xs font-medium\">\n            Name\n            <Input defaultValue=\"Alex Morgan\" />\n          </label>\n          <label className=\"grid gap-1.5 text-xs font-medium\">\n            Date of birth\n            <Input type=\"date\" defaultValue=\"1994-05-12\" />\n          </label>\n        </div>\n        <DialogFooter>\n          <DialogClose render={<Button variant=\"outline\" />}>Cancel</DialogClose>\n          <DialogClose render={<Button />}>Save</DialogClose>\n        </DialogFooter>\n      </DialogContent>\n    </Dialog>\n  )\n}\n",
      "type": "registry:block"
    }
  ]
}