{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "dialog-close-button", "type": "registry:example", "author": "shadcn (https://ui.shadcn.com)", "registryDependencies": [ "dialog", "button" ], "files": [ { "path": "examples/dialog-close-button.tsx", "content": "import { Copy } from \"lucide-react\"\n\nimport { Button } from \"@/registry/default/ui/button\"\nimport {\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n} from \"@/registry/default/ui/dialog\"\nimport { Input } from \"@/registry/default/ui/input\"\nimport { Label } from \"@/registry/default/ui/label\"\n\nexport default function DialogCloseButton() {\n return (\n \n \n \n \n \n \n Share link\n \n Anyone who has this link will be able to view this.\n \n \n
\n
\n \n \n
\n \n
\n \n \n \n \n \n
\n
\n )\n}\n", "type": "registry:example", "target": "" } ] }