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