import React from 'react';

interface MetricValueProps {
  children: React.ReactNode;
  size?: 'sm' | 'md' | 'lg';
  sentiment?: 'positive' | 'negative' | 'neutral';
}

export const MetricValue: React.FC<MetricValueProps> = ({
  children,
  size = 'md',
  sentiment,
}) => {
  const sizeClasses = {
    sm: 'text-base',
    md: 'text-lg',
    lg: 'text-2xl font-bold',
  };

  const sentimentClasses = {
    positive: 'text-positive',
    negative: 'text-negative',
    neutral: 'text-term-text',
  };

  return (
    <div className={`font-mono ${sizeClasses[size]} ${sentiment ? sentimentClasses[sentiment] : 'text-term-text'}`}>
      {children}
    </div>
  );
};
