Variable: AlertDialogTrigger
@arolariu/components / AlertDialogTrigger
Variable: AlertDialogTrigger
constAlertDialogTrigger: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
renderprop for element composition - Styling via CSS Modules with
--ac-*custom properties
Example
<AlertDialogTrigger>Delete</AlertDialogTrigger>
See
// was this page useful?