Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 661 Bytes

cancelDialogButton.md

File metadata and controls

25 lines (13 loc) · 661 Bytes

@serenity-is/corelib / cancelDialogButton

Function: cancelDialogButton()

cancelDialogButton(opt?): DialogButton

Creates a dialog button which, by default, has "Cancel" as the caption (localized) and "cancel" as the result.

Parameters

opt?

DialogButton

Optional configuration for the dialog button.

Returns

DialogButton

The dialog button with the specified configuration.

Defined in

src/base/dialogs.tsx:687