AlertDialogCancel() — ui Function Reference
Architecture documentation for the AlertDialogCancel() function in alert-dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD a59e2c7c_6424_69da_0a8c_a06e7eaece7c["AlertDialogCancel()"] 82a77809_5b0e_7cec_acff_8e0731ac4490["alert-dialog.tsx"] a59e2c7c_6424_69da_0a8c_a06e7eaece7c -->|defined in| 82a77809_5b0e_7cec_acff_8e0731ac4490 style a59e2c7c_6424_69da_0a8c_a06e7eaece7c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/ui/alert-dialog.tsx lines 165–181
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
Source
Frequently Asked Questions
What does AlertDialogCancel() do?
AlertDialogCancel() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/alert-dialog.tsx.
Where is AlertDialogCancel() defined?
AlertDialogCancel() is defined in apps/v4/registry/new-york-v4/ui/alert-dialog.tsx at line 165.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free