@serenity-is/corelib / cancelDialogButton
Function: cancelDialogButton()
cancelDialogButton(
opt?):DialogButton
Defined in: src/base/dialogs.tsx:688
Creates a dialog button which, by default, has "Cancel" as the caption (localized) and "cancel" as the result.
Parameters
opt?
Optional configuration for the dialog button.
Returns
The dialog button with the specified configuration.