Skip to main content

Variable: AlertDialogAction

@arolariu/components


@arolariu/components / AlertDialogAction

Variable: AlertDialogAction

const AlertDialogAction: ForwardRefExoticComponent<Omit<AlertDialogActionProps, "ref"> & RefAttributes<HTMLButtonElement>>

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

Renders the primary confirmation action inside the alert dialog.

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

<AlertDialogAction>Continue</AlertDialogAction>

See

Base UI Documentation

// was this page useful?