AlertDialogDemo() — ui Function Reference
Architecture documentation for the AlertDialogDemo() function in alert-dialog-demo.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 563589e8_b26e_f8ef_0660_73ca8d8c4129["AlertDialogDemo()"] 5e71c565_2c8d_b6dd_0d7a_bf883c1ebf4d["alert-dialog-demo.tsx"] 563589e8_b26e_f8ef_0660_73ca8d8c4129 -->|defined in| 5e71c565_2c8d_b6dd_0d7a_bf883c1ebf4d style 563589e8_b26e_f8ef_0660_73ca8d8c4129 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/alert-dialog-demo.tsx lines 14–35
export default function AlertDialogDemo() {
return (
<AlertDialog>
<AlertDialogTrigger asChild>
<Button variant="outline">Show Dialog</Button>
</AlertDialogTrigger>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
<AlertDialogDescription>
This action cannot be undone. This will permanently delete your
account and remove your data from our servers.
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
<AlertDialogAction>Continue</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>
</AlertDialog>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AlertDialogDemo() do?
AlertDialogDemo() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/alert-dialog-demo.tsx.
Where is AlertDialogDemo() defined?
AlertDialogDemo() is defined in apps/v4/registry/new-york-v4/examples/alert-dialog-demo.tsx at line 14.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free