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