CDP Frontend SDK
    Preparing search index...

    Interface FundProps

    All the props for the Fund component.

    interface FundProps {
        children?: ReactNode | ((state: FundState) => ReactNode);
        className?: string;
        fetchBuyOptions: FetchBuyOptions;
        fetchBuyQuote: FetchBuyQuote;
        inputType?: InputType;
        openIn?: "tab" | "popup";
        redirectUrl?: string;
        submitLabel?: ReactNode;
        title?: ReactNode;
        country: string;
        locale?: string;
        cryptoDecimalPlaces?: number;
        cryptoCurrency: string;
        fiatCurrency: string;
        fiatDecimalPlaces?: number;
        network: string;
        presetAmountInputs?: FundPresetAmountInputs;
        subdivision?: string;
        destinationAddress: string;
        onError?: (e: undefined | OnrampError) => void;
        onStatus?: (lifecycleStatus: FundLifecycleStatus) => void;
        onSuccess?: (result?: OnrampSuccessEventData) => void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    children?: ReactNode | ((state: FundState) => ReactNode)
    className?: string
    fetchBuyOptions: FetchBuyOptions
    fetchBuyQuote: FetchBuyQuote
    inputType?: InputType
    openIn?: "tab" | "popup"
    redirectUrl?: string
    submitLabel?: ReactNode
    title?: ReactNode
    country: string
    locale?: string
    cryptoDecimalPlaces?: number
    cryptoCurrency: string
    fiatCurrency: string
    fiatDecimalPlaces?: number
    network: string
    presetAmountInputs?: FundPresetAmountInputs
    subdivision?: string
    destinationAddress: string
    onError?: (e: undefined | OnrampError) => void
    onStatus?: (lifecycleStatus: FundLifecycleStatus) => void
    onSuccess?: (result?: OnrampSuccessEventData) => void