Skip to main content

Extends

Properties

PropertyTypeDescriptionInherited from
children?ReactNodeThe children to render inside the modal.-
open?booleanWhether the modal is open. Note: if you set this, you must also set setIsOpen.-
setIsOpen?(value: boolean) => voidA function to set the modal’s open state. Note: if you set this, you must also set open.-
className?string-Omit.className
style?CSSProperties-Omit.style
onError?(e: | undefined | OnrampError) => void-Omit.onError
title?ReactNode-Omit.title
countrystring-Omit.country
submitLabel?ReactNode-Omit.submitLabel
onSuccess?(result?: OnrampSuccessEventData) => void-Omit.onSuccess
locale?string-Omit.locale
cryptoDecimalPlaces?number-Omit.cryptoDecimalPlaces
cryptoCurrencystring-Omit.cryptoCurrency
fiatCurrencystring-Omit.fiatCurrency
fiatDecimalPlaces?number-Omit.fiatDecimalPlaces
inputType?InputType-Omit.inputType
networkstring-Omit.network
presetAmountInputs?FundPresetAmountInputs-Omit.presetAmountInputs
subdivision?string-Omit.subdivision
destinationAddressstring-Omit.destinationAddress
fetchBuyOptionsFetchBuyOptions-Omit.fetchBuyOptions
fetchBuyQuoteFetchBuyQuote-Omit.fetchBuyQuote
openIn?"tab" | "popup"-Omit.openIn
redirectUrl?string-Omit.redirectUrl
onStatus?(lifecycleStatus: FundLifecycleStatus) => void-Omit.onStatus
I