cal.pub0.org/packages/features/bookings/components/event-meta/getPayIcon.ts

6 lines
188 B
TypeScript

import { CreditCard, Zap } from "lucide-react";
export function getPayIcon(currency: string): React.FC<{ className: string }> | string {
return currency !== "BTC" ? CreditCard : Zap;
}