Home / Function/ AlertDialogDemo() — ui Function Reference

AlertDialogDemo() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  dfa0dd91_4c8e_c4eb_f48a_a51e5bd0f2a4["AlertDialogDemo()"]
  9a721136_e05d_3636_7938_a43bb46b3007["alert-dialog-demo.tsx"]
  dfa0dd91_4c8e_c4eb_f48a_a51e5bd0f2a4 -->|defined in| 9a721136_e05d_3636_7938_a43bb46b3007
  style dfa0dd91_4c8e_c4eb_f48a_a51e5bd0f2a4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/internal/sink/components/alert-dialog-demo.tsx lines 14–35

export function AlertDialogDemo() {
  return (
    <AlertDialog>
      <AlertDialogTrigger asChild>
        <Button variant="outline">Show Dialog</Button>
      </AlertDialogTrigger>
      <AlertDialogContent>
        <AlertDialogHeader>
          <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
          <AlertDialogDescription>
            This action cannot be undone. This will permanently delete your
            account and remove your data from our servers.
          </AlertDialogDescription>
        </AlertDialogHeader>
        <AlertDialogFooter>
          <AlertDialogCancel>Cancel</AlertDialogCancel>
          <AlertDialogAction>Continue</AlertDialogAction>
        </AlertDialogFooter>
      </AlertDialogContent>
    </AlertDialog>
  )
}

Subdomains

Frequently Asked Questions

What does AlertDialogDemo() do?
AlertDialogDemo() is a function in the ui codebase, defined in deprecated/www/registry/new-york/internal/sink/components/alert-dialog-demo.tsx.
Where is AlertDialogDemo() defined?
AlertDialogDemo() is defined in deprecated/www/registry/new-york/internal/sink/components/alert-dialog-demo.tsx at line 14.

Analyze Your Own Codebase

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

Try Supermodel Free