AlertDialogCancel() — ui Function Reference
Architecture documentation for the AlertDialogCancel() function in alert-dialog.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 28085ff2_1398_5cdf_f0b1_8a831a854666["AlertDialogCancel()"] 12f0e601_5907_1bd2_7826_2e47d8751667["alert-dialog.tsx"] 28085ff2_1398_5cdf_f0b1_8a831a854666 -->|defined in| 12f0e601_5907_1bd2_7826_2e47d8751667 style 28085ff2_1398_5cdf_f0b1_8a831a854666 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui/alert-dialog.tsx lines 156–171
function AlertDialogCancel({
className,
variant = "outline",
size = "default",
...props
}: AlertDialogPrimitive.Close.Props &
Pick<React.ComponentProps<typeof Button>, "variant" | "size">) {
return (
<AlertDialogPrimitive.Close
data-slot="alert-dialog-cancel"
className={cn(className)}
render={<Button variant={variant} size={size} />}
{...props}
/>
)
}
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/base/ui/alert-dialog.tsx.
Where is AlertDialogCancel() defined?
AlertDialogCancel() is defined in apps/v4/examples/base/ui/alert-dialog.tsx at line 156.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free