AlertDialogAction() — ui Function Reference
Architecture documentation for the AlertDialogAction() function in alert-dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD fd29bec4_d9ef_7fb4_5d02_3f2c51764d43["AlertDialogAction()"] 0a1337c9_ea81_df79_24a1_d18af363bec9["alert-dialog.tsx"] fd29bec4_d9ef_7fb4_5d02_3f2c51764d43 -->|defined in| 0a1337c9_ea81_df79_24a1_d18af363bec9 style fd29bec4_d9ef_7fb4_5d02_3f2c51764d43 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/ui/alert-dialog.tsx lines 135–151
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("cn-alert-dialog-action", className)}
{...props}
/>
</Button>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AlertDialogAction() do?
AlertDialogAction() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/alert-dialog.tsx.
Where is AlertDialogAction() defined?
AlertDialogAction() is defined in apps/v4/registry/bases/radix/ui/alert-dialog.tsx at line 135.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free