import React from 'react' import { motion } from 'framer-motion' const ProgressCard = ({ icon: Icon, label, value, total, suffix = '', color = 'blue', delay = 0 }) => { const colorClasses = { blue: 'from-blue-500 to-cyan-500', purple: 'from-purple-500 to-pink-500', green: 'from-green-500 to-emerald-500', orange: 'from-orange-500 to-red-500' } const percentage = total ? Math.round((value / total) * 100) : 0 return (
{total && (
{value} / {total}
)}
{value}{suffix}
{label}
{total && (
)}
) } export default ProgressCard