Home / Function/ AlertDialogSmallWithMedia() — ui Function Reference

AlertDialogSmallWithMedia() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1fd45c26_c602_7bd2_0099_660e6c1ad16b["AlertDialogSmallWithMedia()"]
  f00e6683_5ad1_57ce_ba63_874d2425eaaf["alert-dialog-example.tsx"]
  1fd45c26_c602_7bd2_0099_660e6c1ad16b -->|defined in| f00e6683_5ad1_57ce_ba63_874d2425eaaf
  style 1fd45c26_c602_7bd2_0099_660e6c1ad16b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/alert-dialog-example.tsx lines 123–155

function AlertDialogSmallWithMedia() {
  return (
    <Example title="Small With Media" className="items-center">
      <AlertDialog>
        <AlertDialogTrigger
          render={<Button variant="outline">Small (Media)</Button>}
        />

        <AlertDialogContent size="sm">
          <AlertDialogHeader>
            <AlertDialogMedia>
              <IconPlaceholder
                lucide="BluetoothIcon"
                tabler="IconBluetooth"
                hugeicons="BluetoothIcon"
                phosphor="BluetoothIcon"
                remixicon="RiBluetoothLine"
              />
            </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>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does AlertDialogSmallWithMedia() do?
AlertDialogSmallWithMedia() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/alert-dialog-example.tsx.
Where is AlertDialogSmallWithMedia() defined?
AlertDialogSmallWithMedia() is defined in apps/v4/registry/bases/base/examples/alert-dialog-example.tsx at line 123.

Analyze Your Own Codebase

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

Try Supermodel Free