@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
13 lines (12 loc) • 690 B
TypeScript
import React from 'react';
import type { PaymentMethodCardInfo } from '~/domains/paymentMethods';
import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
export type MeldCurrencySelectState = CheckoutModalCommonState & {
defaultCurrency: string;
paymentMethodInfo: PaymentMethodCardInfo;
};
export type MeldCurrencySelectNext = {
currency: string;
};
export declare const MeldCurrencySelectInfo: ModalStepInfo<FunCheckoutStep.MELD_CURRENCY_SELECT>;
export declare function MeldCurrencySelect({ modalState, onNext, }: ModalStepComponentProps<FunCheckoutStep.MELD_CURRENCY_SELECT>): React.JSX.Element;