Skip to main content

Variable: AlertDialogTrigger

@arolariu/components


@arolariu/components / AlertDialogTrigger

Variable: AlertDialogTrigger

const AlertDialogTrigger: ForwardRefExoticComponent<Omit<AlertDialogTriggerProps, "ref"> & RefAttributes<HTMLButtonElement>>

Defined in: components/ui/alert-dialog.tsx:111

Opens the alert dialog from an interactive trigger element.

Remarks

  • Renders a <button> element by default
  • Built on Base UI Alert Dialog
  • Supports the render prop for element composition
  • Styling via CSS Modules with --ac-* custom properties

Example

<AlertDialogTrigger>Delete</AlertDialogTrigger>

See

Base UI Documentation

// was this page useful?