{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "alert-dialog-demo",
  "title": "Alert dialog Demo",
  "description": "Usage example for the ai2 alert-dialog component.",
  "registryDependencies": [
    "@ai2/alert-dialog",
    "@ai2/button"
  ],
  "files": [
    {
      "path": "registry/ai2/examples/alert-dialog-demo.tsx",
      "content": "import {\n  AlertDialog,\n  AlertDialogAction,\n  AlertDialogCancel,\n  AlertDialogContent,\n  AlertDialogDescription,\n  AlertDialogFooter,\n  AlertDialogHeader,\n  AlertDialogTitle,\n  AlertDialogTrigger,\n} from \"@/registry/ai2/ui/alert-dialog\"\nimport { Button } from \"@/registry/ai2/ui/button\"\n\nexport default function AlertDialogDemo() {\n  return (\n    <AlertDialog>\n      <AlertDialogTrigger asChild>\n        <Button variant=\"outline\" tone=\"danger\">\n          Delete project\n        </Button>\n      </AlertDialogTrigger>\n      <AlertDialogContent>\n        <AlertDialogHeader>\n          <AlertDialogTitle>Delete this project?</AlertDialogTitle>\n          <AlertDialogDescription>\n            This action cannot be undone. All deployments and logs will be removed.\n          </AlertDialogDescription>\n        </AlertDialogHeader>\n        <AlertDialogFooter>\n          <AlertDialogCancel>Cancel</AlertDialogCancel>\n          <AlertDialogAction>Delete</AlertDialogAction>\n        </AlertDialogFooter>\n      </AlertDialogContent>\n    </AlertDialog>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}