Skip to content

toolmark-monorepo / @toolmark/react / ConfirmQueueState

Interface: ConfirmQueueState ​

Defined in: packages/react/src/use-confirm-queue.ts:5

Snapshot + actions returned by useConfirmQueue.

Properties ​

approve ​

approve: (input?) => void

Defined in: packages/react/src/use-confirm-queue.ts:9

Approves the head request.

Parameters ​

input? ​

unknown

Returns ​

void


pending ​

pending: ConfirmRequest | null

Defined in: packages/react/src/use-confirm-queue.ts:7

Head of the queue, or null when nothing is pending.


reject ​

reject: (reason?) => void

Defined in: packages/react/src/use-confirm-queue.ts:11

Rejects the head request.

Parameters ​

reason? ​

string

Returns ​

void