@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
15 lines (14 loc) • 761 B
TypeScript
import React from 'react';
import { BluvoExchangeType } from '~/consts/bluvo';
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: BluvoExchangeType;
};
export declare const SelectBrokerageInfo: ModalStepInfo<FunCheckoutStep.SELECT_BROKERAGE>;
export declare function SelectBrokerage({ onNext, }: ModalStepComponentProps<FunCheckoutStep.SELECT_BROKERAGE>): React.JSX.Element;