jatui

ConfirmModal

Confirmation dialog with customizable actions and danger variant

Demo

Props

PropTypeDefaultDescription
titlestring-Dialog title
messagestring-Confirmation message
confirmTextstring"Confirm"Confirm button text
confirmButtonClassstring-Extra classes for the confirm button (e.g. btn-error)
onconfirm() => void-Confirm callback
oncancel() => void-Cancel callback