import { cls } from "@/lib/utils"; interface PriceDisplayProps { price: number; originalPrice?: number; currency?: string; period?: string; className?: string; } const PriceDisplay = ({ price, originalPrice, currency = "$", period, className, }: PriceDisplayProps) => (
{currency} {price} {originalPrice && ( {currency} {originalPrice} )}
{period && {period}}
); export default PriceDisplay;