Skip to main content

Variable: AlertDialogCancel

@arolariu/components


@arolariu/components / AlertDialogCancel

Variable: AlertDialogCancel

const AlertDialogCancel: ForwardRefExoticComponent<Omit<AlertDialogCancelProps, "ref"> & RefAttributes<HTMLButtonElement>>

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

Renders the secondary dismissal 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

<AlertDialogCancel>Cancel</AlertDialogCancel>

See

Base UI Documentation

// was this page useful?