Interfacegatewayv0.7.5
interface DefaultConfirmOptions extends ConfirmOptionscancelLabel?: stringDefault:'Cancel'
confirmLabel?: stringDefault:'Confirm'
confirmStyle?: ButtonStyleDefault:Danger
ephemeral
Whether the prompt is ephemeral. Only the invoking user can act on it either way, a non-invoker's click is ignored.
onCancel
Shown in place of the prompt when the user cancels. Absent removes the prompt.
onCancel?: OutcomeInherited from:ConfirmOptions
onConfirm
Shown in place of the prompt when the user confirms. Absent removes the prompt.
onConfirm?: OutcomeInherited from:ConfirmOptions
onTimeout
Shown in place of the prompt when the prompt times out. Absent removes the prompt.
onTimeout?: OutcomeInherited from:ConfirmOptions
timeoutMs
Milliseconds to wait for a click before the prompt is settled and the result resolves to false.