@serenity-is/corelib / cancelDialogButton
cancelDialogButton(
opt
?):DialogButton
Creates a dialog button which, by default, has "Cancel" as the caption (localized) and "cancel" as the result.
Optional configuration for the dialog button.
The dialog button with the specified configuration.