@blocklet/payment-react
Version:
Reusable react components for payment kit v2
24 lines (23 loc) • 752 B
TypeScript
interface ExchangeRateFooterProps {
hasDynamicPricing: boolean;
rate: {
value: string | null;
display: string | null;
provider: string | null;
providerDisplay: string | null;
fetchedAt: number | null;
status: 'loading' | 'available' | 'unavailable';
};
slippage: {
percent: number;
set: (config: {
mode: string;
percent: number;
base_currency?: string;
}) => Promise<void>;
};
currencySymbol: string;
isSubscription: boolean;
}
export default function ExchangeRateFooter({ hasDynamicPricing, rate, slippage, currencySymbol, isSubscription, }: ExchangeRateFooterProps): import("react").JSX.Element | null;
export {};