Skip to content

1681-engine / react / ConfirmDialog

Function: ConfirmDialog() ​

ts
function ConfirmDialog(__namedParameters): Element | null;

Defined in: src/react/ConfirmDialog.tsx:16

The open askConfirm / askQuantity question, if any: mounted once at the UI's root. Enter confirms, Esc or a press outside cancels. A quantity is asked with a slider, − and + and a field for an exact number (a slider over 99 cannot land on 37 with a thumb).

Parameters ​

ParameterType
__namedParameters{ width?: number; }
__namedParameters.width?number

Returns ​

Element | null

Released under the MIT License.