
import React from 'react';
import { formatCurrency } from '@/utils/formatters';

interface TransactionAmountProps {
  amount: number;
}

const TransactionAmount: React.FC<TransactionAmountProps> = ({ amount }) => {
  return (
    <div className="text-right">
      <p className="font-semibold text-neuro-income text-sm">
        -{formatCurrency(amount)}
      </p>
    </div>
  );
};

export default TransactionAmount;
