added header and blockScroll props to confirmationoptions.d.ts

pull/1934/head
Michael Reeves 2021-12-08 05:16:41 -06:00 committed by Tuğçe Küçükoğlu
parent 2f57bd9e2c
commit f381a17405
1 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,10 @@ export interface ConfirmationOptions {
* Message of the confirmation. * Message of the confirmation.
*/ */
message?: string | undefined; message?: string | undefined;
/**
* Header text of the dialog.
*/
header?: string | undefined;
/** /**
* Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance. * Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance.
*/ */
@ -19,6 +23,10 @@ export interface ConfirmationOptions {
* Icon to display next to the message. * Icon to display next to the message.
*/ */
icon?: string | undefined; icon?: string | undefined;
/**
* Whether background scroll should be blocked when dialog is visible.
*/
blockScroll?: boolean | undefined;
/** /**
* Callback to execute when action is confirmed. * Callback to execute when action is confirmed.
*/ */