UNPKG

@funkit/connect

Version:

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

15 lines (14 loc) 691 B
import React from 'react'; import type { CheckoutFees } from '~/domains/fees'; import type { FunkitCheckoutQuoteResult } from '~/domains/quote'; export declare const NO_DATA_VALUE = "-"; interface PaymentFeesSummaryProps { isLoading: boolean; quote: FunkitCheckoutQuoteResult | null | undefined; /** If set and quote is missing, display fees based on this data */ fallbackFees?: CheckoutFees; /** If set, displays a `-` instead of the values, the breakdown is not expandable */ valuesNotAvailable?: boolean; } export declare function PaymentFeesSummary({ isLoading, quote, fallbackFees, valuesNotAvailable, }: PaymentFeesSummaryProps): React.JSX.Element; export {};