UNPKG

@funkit/connect

Version:

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

13 lines (12 loc) 561 B
import React from 'react'; import type { CheckoutHistoryItem } from '@funkit/api-base'; import type { Address } from 'viem'; import { type CheckoutStatus } from '~/domains/checkout'; export type NotificationStatus = CheckoutStatus | 'delayed'; interface CheckoutNotificationProps { checkout: CheckoutHistoryItem; onClose: (id: string) => void; onHelp: (depositAddress: Address) => void; } export declare const CheckoutNotification: ({ checkout: defaultCheckout, onClose, onHelp, }: CheckoutNotificationProps) => React.JSX.Element | null; export {};