@serenity-is/corelib / warningDialog
Function: warningDialog()
warningDialog(
message,options?):Partial<Dialog>
Defined in: src/base/dialogs.tsx:1216
Displays a warning dialog with a single OK button.
Parameters
message
Text or renderable content shown in the dialog body.
options?
Additional MessageDialogOptions.
Returns
Partial<Dialog>
A Dialog handle (partial when falling back to the native alert()).
Example
warningDialog("Something is odd!");