{
"$schema": "https://blode.co/ui/schema/registry-item.json",
"name": "alert-dialog",
"title": "Alert Dialog",
"author": "Matthew Blode",
"description": "A modal dialog that interrupts the user with important content and expects a response.",
"dependencies": ["@base-ui/react"],
"registryDependencies": ["button"],
"files": [
{
"path": "ui/alert-dialog.tsx",
"content": "\"use client\";\n\nimport { AlertDialog as AlertDialogPrimitive } from \"@base-ui/react/alert-dialog\";\nimport * as React from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { Button } from \"@/components/ui/button\";\n\nconst AlertDialog = ({ ...props }: AlertDialogPrimitive.Root.Props) => (\n