API ReferenceReact componentsInterface
TransactionWorkflowDialogProps
Beta
Props for the TransactionWorkflowDialog component.
Extends
ComponentProps<"div">
Properties
description?
optional description?: string;Beta
Optional sentence under the title. Accepted but currently not rendered.
onClose?
optional onClose?: (terminalOperationsState?) => void;Beta
Called when the user dismisses the dialog (backdrop, escape, or the “Go back” button shown once
execution stops). Receives the workflow’s operations with their final statuses so the parent can
tell a completed run from an abandoned one, or undefined if execution never started.
Parameters
| Parameter | Type |
|---|---|
terminalOperationsState? | WalletOperation<AnvilWalletOperationType>[] |
Returns
void
title?
optional title?: string;Beta
Heading of the dialog. Defaults to 'Sign Transactions'.
Overrides
ComponentProps.title;workflow
workflow: WalletOperationWorkflow;Beta
The prepared WalletOperationWorkflow to run. Execution starts on mount (once, guarded against StrictMode double-invoke) and each operation’s status is rendered as it advances, so build the workflow first and mount the dialog only when you are ready to prompt the wallet.