import React from 'react'; interface ProgressBarProps { value: number; max?: number; label?: string; className?: string; } export default function ProgressBar({ value, max = 100, label, className = '' }: ProgressBarProps) { const pct = Math.min((value / max) * 100, 100); return (
{label && {label}}
); }