Appearance
@swapped/connect-sdk / react / CashAppProviderProps
Type Alias: CashAppProviderProps
CashAppProviderProps =
object
Defined in: src/react/cash-app/providers/CashAppProvider.tsx:16
Props for CashAppProvider.
Properties
adjustAmountOnAssetChange?
optionaladjustAmountOnAssetChange?:boolean
Defined in: src/react/cash-app/providers/CashAppProvider.tsx:28
When the selected asset changes and the current amount is above 0 but below the new minimum, bump the amount up to that minimum. Defaults to false.
autoSelectAsset?
optionalautoSelectAsset?:boolean
Defined in: src/react/cash-app/providers/CashAppProvider.tsx:19
Auto-select the default or first supported asset. Defaults to true.
children
children:
ReactNode
Defined in: src/react/cash-app/providers/CashAppProvider.tsx:17
defaultAsset?
optionaldefaultAsset?:CashAppDefaultAsset
Defined in: src/react/cash-app/providers/CashAppProvider.tsx:21
Preferred initial asset when present in the loaded list.
enabled?
optionalenabled?:boolean
Defined in: src/react/cash-app/providers/CashAppProvider.tsx:23
Skip fetching assets until explicitly enabled. Defaults to true.