Home / Function/ AlertDialogCancel() — ui Function Reference

AlertDialogCancel() — ui Function Reference

Architecture documentation for the AlertDialogCancel() function in alert-dialog.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  57af5edf_5503_4d29_1b89_348291cd6522["AlertDialogCancel()"]
  0eba9e96_12af_18e5_d900_ba808367f7a3["alert-dialog.tsx"]
  57af5edf_5503_4d29_1b89_348291cd6522 -->|defined in| 0eba9e96_12af_18e5_d900_ba808367f7a3
  style 57af5edf_5503_4d29_1b89_348291cd6522 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui-rtl/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}
    />
  )
}

Subdomains

Frequently Asked Questions

What does AlertDialogCancel() do?
AlertDialogCancel() is a function in the ui codebase, defined in apps/v4/examples/base/ui-rtl/alert-dialog.tsx.
Where is AlertDialogCancel() defined?
AlertDialogCancel() is defined in apps/v4/examples/base/ui-rtl/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