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