Appearance
@swapped/connect-sdk / react / UseExchangePayAmountOptions
Type Alias: UseExchangePayAmountOptions
UseExchangePayAmountOptions =
object
Defined in: src/react/exchange-pay/hooks/useExchangePayAmount.ts:18
Options for useExchangePayAmount.
Properties
clampToMax?
optionalclampToMax?:boolean
Defined in: src/react/exchange-pay/hooks/useExchangePayAmount.ts:23
When true and maxAmountFiat is set, clamp the input down to the max while typing.
maxAmountFiat?
optionalmaxAmountFiat?:number
Defined in: src/react/exchange-pay/hooks/useExchangePayAmount.ts:25
Optional consumer-defined maximum fiat amount (currently USD).