added header and blockScroll props to confirmationoptions.d.ts
parent
2f57bd9e2c
commit
f381a17405
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue