Appearance
Documentation / react-auth / SendTransactionModalUIOptions
Type alias: SendTransactionModalUIOptions
SendTransactionModalUIOptions:
Object
UI customization object for the embedded wallet's Send Transaction screen
Type declaration
buttonText?
buttonText?:
string
Text to show on CTA button for Send Transaction screen. Defaults to 'Submit'. For fund transactions, defaults to 'Approve'.
description?
description?:
string
Description of the transaction being sent.
showWalletUIs?
showWalletUIs?:
boolean
Whether or not to show wallet UIs for this action. Defaults to the wallet UI setting enabled for your app in the Privy Dashboard, or showWalletUIs
in the embeddedWallets
config.
successDescription?
successDescription?:
string
Description of the transaction Success screen. Defaults to 'You're all set.'
successHeader?
successHeader?:
string
Text to display at top of Send Transaction Success screen. Defaults to 'Transaction complete!' if transaction is successful.
transactionInfo?
transactionInfo?:
TransactionUIOptions
Details about the transaction that the user will send. Will be shown in an accordion in the Send Transaction screen.