backgroundClassName | undefined | string Extra className s to apply to the background element, separated by spaces. |
backgroundStyle | React.CSSProperties Extra styles to apply to the background element. |
body | React.ReactNode | string The body of the dialog. When it’s a string it will automatically be wrapped in a Text component. |
cancelButtonText | undefined | string The label for the cancel button. Defaults to 'Cancel'. |
className | undefined | string Extra className s to apply to the dialog element, separated by spaces. |
confirmButtonText | undefined | string The label for the confirm button. Defaults to 'Confirm'. |
isCancelButtonDisabled | undefined | false | true Whether the cancel button can be interacted with. Defaults to false . |
isConfirmActionDangerous | boolean Whether the action is dangerous (potentially destructive or not easily reversible). Defaults to false . |
isConfirmButtonDisabled | undefined | false | true Whether the confirm button can be interacted with. Defaults to false . |
onCancel | function () => unknown
Cancel button event handler. Handles click events and Space/Enter keypress events. |
onConfirm | function () => unknown
Confirm button event handler. Handles click events and Space/Enter keypress events. |
style | React.CSSProperties Extra styles to apply to the dialog element. |
title | string |