import { Smile, Frown, Zap, Clock, CheckCircle } from 'lucide-react'; import type { SentimentResult } from '../types'; import { formatConfidence, formatProcessingTime, getConfidenceLevel, truncateText } from '../utils/formatters'; interface ResultCardProps { result: SentimentResult; } const ResultCard = ({ result }: ResultCardProps) => { const isPositive = result.sentiment === 'POSITIVE'; const confidencePercent = result.confidence * 100; return (
{getConfidenceLevel(result.confidence)}