UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

15 lines (14 loc) 766 B
import React from 'react'; import type { MeshExchangeType } from '~/consts/mesh'; import { type PaymentMethodBrokerageInfo } from '../../domains/paymentMethods'; import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from './stepTransition'; export type SelectBrokerageState = CheckoutModalCommonState; export type SelectBrokerageNext = { hasActiveConnection: true; paymentInfo: PaymentMethodBrokerageInfo; } | { hasActiveConnection: false; brokerType: MeshExchangeType; }; export declare const SelectBrokerageInfo: ModalStepInfo<FunCheckoutStep.SELECT_BROKERAGE>; export declare function SelectBrokerage({ onNext, }: ModalStepComponentProps<FunCheckoutStep.SELECT_BROKERAGE>): React.JSX.Element;