Home / Function/ AlertDialogMedia() — ui Function Reference

AlertDialogMedia() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/alert-dialog.tsx lines 131–145

function AlertDialogMedia({
  className,
  ...props
}: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="alert-dialog-media"
      className={cn(
        "bg-muted mb-2 inline-flex size-16 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-8",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free