{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "alert-dialog-with-media", "title": "Alert Dialog With Media", "description": "Alert Dialog example: With Media.", "registryDependencies": [ "alert-dialog", "button" ], "files": [ { "path": "apps/docs/demos/alert-dialog/with-media.tsx", "content": "\"use client\";\n\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogMedia,\n AlertDialogTitle,\n AlertDialogTrigger,\n} from \"@keystoneui/react/alert-dialog\";\nimport { Button } from \"@keystoneui/react/button\";\nimport { TriangleAlert as TriangleAlertIcon } from \"lucide-react\";\n\nexport default function AlertDialogWithMedia() {\n return (\n \n }>\n Unsaved Changes\n \n \n \n \n \n \n Unsaved changes\n \n You have unsaved changes that will be lost if you leave this page.\n Do you want to save before leaving?\n \n \n \n Save Changes\n Discard\n \n \n \n );\n}\n", "type": "registry:example" } ], "type": "registry:example" }