"use client"; import { Box, LinearProgress, Typography } from "@mui/material"; import React from "react"; interface LinearProgressWithLabelProps { completed: number; total: number; label: string; } const LinearProgressWithLabel: React.FC = ({ completed, total, label, }) => { const progress = total > 0 ? (completed / total) * 100 : 0; return ( {label}: {completed}/{total} ); }; export default LinearProgressWithLabel;