ConfirmDialog

ConfirmDialog is premade dialog that use for confirmation.

Example

Example usage.

API

ConfirmDialog
PropDescriptionTypeDefault
cancelTextCancel button textstring'Cancel'
cancelButtonPropsApply Button props to cancel buttonButtonProps-
confirmButtonPropsApply Button props to confirm buttonButtonProps-
confirmTextConfirm button textstring'Confirm'
onCancelCallback function after click on cancel button() => void-
onConfirmCallback function after click on confirm button() => void-
titleTitle of confirmationstring'info'
typeType of confirmation'info' | 'success' | 'warning' | 'danger''info'