import { formatCurrency } from '@/lib/utils';

interface CurrencyFormatProps {
  amount: number;
  className?: string;
}

export default function CurrencyFormat({ amount, className }: CurrencyFormatProps) {
  return <span className={className}>{formatCurrency(amount)}</span>;
}
