Files
cal.diy/packages/features/bookings/components/event-meta/PriceIcon.tsx
T
3f02de8214 chore: icon cleanup (#13770)
Co-authored-by: Joe Au-Yeung <[email protected]>
Co-authored-by: sean-brydon <[email protected]>
2024-04-03 23:23:57 +00:00

9 lines
352 B
TypeScript

import { Icon } from "@calcom/ui";
import { SatSymbol } from "@calcom/ui/components/icon/SatSymbol";
export function PriceIcon(props: { currency: string; className?: string }) {
const { className, currency } = props;
if (currency !== "BTC") return <Icon name="credit-card" className={className} />;
return <SatSymbol className={className} />;
}