Home / Function/ AlertDialogSmallWithMedia() — ui Function Reference

AlertDialogSmallWithMedia() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  17a46f79_037f_5879_0736_5d7ec31ea010["AlertDialogSmallWithMedia()"]
  ca425de2_b829_93ad_dfd2_e8276b8ec361["alert-dialog-small-media.tsx"]
  17a46f79_037f_5879_0736_5d7ec31ea010 -->|defined in| ca425de2_b829_93ad_dfd2_e8276b8ec361
  style 17a46f79_037f_5879_0736_5d7ec31ea010 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/alert-dialog-small-media.tsx lines 16–40

export function AlertDialogSmallWithMedia() {
  return (
    <AlertDialog>
      <AlertDialogTrigger
        render={<Button variant="outline">Show Dialog</Button>}
      />

      <AlertDialogContent size="sm">
        <AlertDialogHeader>
          <AlertDialogMedia>
            <BluetoothIcon />
          </AlertDialogMedia>
          <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 AlertDialogSmallWithMedia() do?
AlertDialogSmallWithMedia() is a function in the ui codebase, defined in apps/v4/examples/base/alert-dialog-small-media.tsx.
Where is AlertDialogSmallWithMedia() defined?
AlertDialogSmallWithMedia() is defined in apps/v4/examples/base/alert-dialog-small-media.tsx at line 16.

Analyze Your Own Codebase

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

Try Supermodel Free