Home / Function/ AlertDialogSmall() — ui Function Reference

AlertDialogSmall() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  eb3677c7_08ce_a329_9bdf_c51a5ce17e6d["AlertDialogSmall()"]
  8fc9f924_f360_7d3b_5f01_4c03493bd8f7["alert-dialog-small.tsx"]
  eb3677c7_08ce_a329_9bdf_c51a5ce17e6d -->|defined in| 8fc9f924_f360_7d3b_5f01_4c03493bd8f7
  style eb3677c7_08ce_a329_9bdf_c51a5ce17e6d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/alert-dialog-small.tsx lines 14–34

export function AlertDialogSmall() {
  return (
    <AlertDialog>
      <AlertDialogTrigger
        render={<Button variant="outline">Show Dialog</Button>}
      />
      <AlertDialogContent size="sm">
        <AlertDialogHeader>
          <AlertDialogTitle>Allow accessory to connect?</AlertDialogTitle>
          <AlertDialogDescription>
            Do you want to allow the USB accessory to connect to this device?
          </AlertDialogDescription>
        </AlertDialogHeader>
        <AlertDialogFooter>
          <AlertDialogCancel>Don&apos;t allow</AlertDialogCancel>
          <AlertDialogAction>Allow</AlertDialogAction>
        </AlertDialogFooter>
      </AlertDialogContent>
    </AlertDialog>
  )
}

Subdomains

Frequently Asked Questions

What does AlertDialogSmall() do?
AlertDialogSmall() is a function in the ui codebase, defined in apps/v4/examples/base/alert-dialog-small.tsx.
Where is AlertDialogSmall() defined?
AlertDialogSmall() is defined in apps/v4/examples/base/alert-dialog-small.tsx at line 14.

Analyze Your Own Codebase

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

Try Supermodel Free