Skip to content

1681-engine / react / askConfirm

Function: askConfirm() ​

ts
function askConfirm(text, options?): Promise<boolean>;

Defined in: src/react/confirmStore.ts:30

A yes/no question in the kit's own dialog instead of window.confirm; resolves true when confirmed.

Parameters ​

ParameterType
textReactNode
optionsAskOptions

Returns ​

Promise<boolean>

Released under the MIT License.