'use client'; import { motion } from 'framer-motion'; export default function ProgressBar({ value, max, className = '', label, showPercentage = false }) { const percentage = (value / max) * 100; return (
{label && (
{label} {showPercentage && ( {Math.round(percentage)}% )}
)}
); }