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
  6f2314db_8569_ac4d_d84e_9d21f231c320["AlertDialogDemo()"]
  027d9732_a9d0_024d_ba3f_83c5d7ee2a71["alert-dialog-demo.tsx"]
  6f2314db_8569_ac4d_d84e_9d21f231c320 -->|defined in| 027d9732_a9d0_024d_ba3f_83c5d7ee2a71
  style 6f2314db_8569_ac4d_d84e_9d21f231c320 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/alert-dialog-demo.tsx lines 14–35

export default function AlertDialogDemo() {
  return (
    <AlertDialog>
      <AlertDialogTrigger render={<Button variant="outline" />}>
        Show Dialog
      </AlertDialogTrigger>
      <AlertDialogContent>
        <AlertDialogHeader>
          <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
          <AlertDialogDescription>
            This action cannot be undone. This will permanently delete your
            account 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 apps/v4/examples/base/alert-dialog-demo.tsx.
Where is AlertDialogDemo() defined?
AlertDialogDemo() is defined in apps/v4/examples/base/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