AlertDialogAction() — ui Function Reference
Architecture documentation for the AlertDialogAction() function in alert-dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 345ad50f_9a43_4baf_2e04_2be480e700cf["AlertDialogAction()"] 6d72b436_37b7_96be_dfc3_952e47aa0854["alert-dialog.tsx"] 345ad50f_9a43_4baf_2e04_2be480e700cf -->|defined in| 6d72b436_37b7_96be_dfc3_952e47aa0854 style 345ad50f_9a43_4baf_2e04_2be480e700cf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui/alert-dialog.tsx lines 149–165
function AlertDialogAction({
className,
variant = "default",
size = "default",
...props
}: React.ComponentProps<typeof AlertDialogPrimitive.Action> &
Pick<React.ComponentProps<typeof Button>, "variant" | "size">) {
return (
<Button variant={variant} size={size} asChild>
<AlertDialogPrimitive.Action
data-slot="alert-dialog-action"
className={cn(className)}
{...props}
/>
</Button>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does AlertDialogAction() do?
AlertDialogAction() is a function in the ui codebase, defined in apps/v4/examples/radix/ui/alert-dialog.tsx.
Where is AlertDialogAction() defined?
AlertDialogAction() is defined in apps/v4/examples/radix/ui/alert-dialog.tsx at line 149.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free