{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "alert-dialog-destructive", "title": "Alert Dialog Destructive", "description": "Alert Dialog example: Destructive.", "registryDependencies": [ "alert-dialog", "button" ], "files": [ { "path": "apps/docs/demos/alert-dialog/destructive.tsx", "content": "\"use client\";\n\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogTitle,\n AlertDialogTrigger,\n} from \"@keystoneui/react/alert-dialog\";\nimport { Button } from \"@keystoneui/react/button\";\n\nexport default function AlertDialogDestructive() {\n return (\n \n }>\n Delete Account\n \n \n \n Delete account?\n \n This action is permanent and cannot be undone. All your data,\n including projects, files, and settings will be permanently deleted.\n \n \n \n \n Delete Account\n \n Cancel\n \n \n \n );\n}\n", "type": "registry:example" } ], "type": "registry:example" }