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
  e63888b7_17e7_b3ee_3fa3_a47784395344["AlertDialogSmallWithMedia()"]
  37d8b3d8_f372_abe4_f85c_71e4c19e4252["alert-dialog-small-media.tsx"]
  e63888b7_17e7_b3ee_3fa3_a47784395344 -->|defined in| 37d8b3d8_f372_abe4_f85c_71e4c19e4252
  style e63888b7_17e7_b3ee_3fa3_a47784395344 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

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

      <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/radix/alert-dialog-small-media.tsx.
Where is AlertDialogSmallWithMedia() defined?
AlertDialogSmallWithMedia() is defined in apps/v4/examples/radix/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