import { clsx } from 'clsx'; export type ProgressProps = { className?: string; id: string; progress: { value: number; max: number }; }; const Progress = ({ className, id, progress }: ProgressProps) => { return ( {Math.floor((progress.value / progress.max) * 100)}% ); }; export default Progress;