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 e8853d95_c52e_9b66_ff40_71b9e14961e8["AlertDialogDemo()"] 07469bef_a32a_d0fa_e601_8f0ecb3412bd["alert-dialog-demo.tsx"] e8853d95_c52e_9b66_ff40_71b9e14961e8 -->|defined in| 07469bef_a32a_d0fa_e601_8f0ecb3412bd style e8853d95_c52e_9b66_ff40_71b9e14961e8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/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 from our servers.
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
<AlertDialogAction>Continue</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>
</AlertDialog>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does AlertDialogDemo() do?
AlertDialogDemo() is a function in the ui codebase, defined in apps/v4/examples/radix/alert-dialog-demo.tsx.
Where is AlertDialogDemo() defined?
AlertDialogDemo() is defined in apps/v4/examples/radix/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