1681-engine / react / ConfirmQuestion
Interface: ConfirmQuestion ​
Defined in: src/react/confirmStore.ts:4
Properties ​
cancel? ​
ts
optional cancel?: string;Defined in: src/react/confirmStore.ts:8
max ​
ts
max: number;Defined in: src/react/confirmStore.ts:10
Above 1 the dialog also asks how many (1..max), starting at all of them; a plain question has 0.
ok? ​
ts
optional ok?: string;Defined in: src/react/confirmStore.ts:7
The confirm button's word; default the provider's ok.
resolve ​
ts
resolve: (qty) => void;Defined in: src/react/confirmStore.ts:12
The amount chosen, or 0 when cancelled.
Parameters ​
| Parameter | Type |
|---|---|
qty | number |
Returns ​
void
text ​
ts
text: ReactNode;Defined in: src/react/confirmStore.ts:5