Home / Function/ AlertDialogAction() — ui Function Reference

AlertDialogAction() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d126dbaa_900e_abf2_4807_9b15bb1f3f72["AlertDialogAction()"]
  82a77809_5b0e_7cec_acff_8e0731ac4490["alert-dialog.tsx"]
  d126dbaa_900e_abf2_4807_9b15bb1f3f72 -->|defined in| 82a77809_5b0e_7cec_acff_8e0731ac4490
  style d126dbaa_900e_abf2_4807_9b15bb1f3f72 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/alert-dialog.tsx lines 147–163

function AlertDialogAction({
  className,
  variant = "default",
  size = "default",
  ...props
}: React.ComponentProps<typeof AlertDialogPrimitive.Action> &
  Pick<React.ComponentProps<typeof Button>, "variant" | "size">) {
  return (
    <Button variant={variant} size={size} asChild>
      <AlertDialogPrimitive.Action
        data-slot="alert-dialog-action"
        className={cn(className)}
        {...props}
      />
    </Button>
  )
}

Subdomains

Frequently Asked Questions

What does AlertDialogAction() do?
AlertDialogAction() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/alert-dialog.tsx.
Where is AlertDialogAction() defined?
AlertDialogAction() is defined in apps/v4/registry/new-york-v4/ui/alert-dialog.tsx at line 147.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free