UNPKG

@funkit/connect

Version:

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

13 lines (12 loc) 850 B
import React from 'react'; import type { Address } from 'viem'; import type { PaymentMethodInfo } from '~/domains/paymentMethods'; import type { CheckoutModalCommonState, FunCheckoutStep, ModalStepComponentProps, ModalStepInfo } from '../stepTransition'; export type DirectExecutionNotifCenterState = CheckoutModalCommonState & { depositAddress: Address; paymentMethodInfo?: PaymentMethodInfo; }; export type DirectExecutionNotifCenterNext = Record<string, never>; export declare const DirectExecutionNotifCenterInfo: ModalStepInfo<FunCheckoutStep.DIRECT_EXECUTION_NOTIF_CENTER>; /** A checkout detail component to handle redirecting to the checkout history page */ export declare function DirectExecutionNotifCenter({ modalState, onClose, }: ModalStepComponentProps<FunCheckoutStep.DIRECT_EXECUTION_NOTIF_CENTER>): React.JSX.Element | null;