@blocklet/payment-react
Version:
Reusable react components for payment kit v2
9 lines (8 loc) • 356 B
TypeScript
import type { TPaymentCurrency } from '@blocklet/payment-types';
interface CurrencyGridProps {
currencies: TPaymentCurrency[];
selectedId: string | undefined;
onSelect: (id: string) => Promise<void>;
}
export default function CurrencyGrid({ currencies, selectedId, onSelect }: CurrencyGridProps): import("react").JSX.Element | null;
export {};