import React from "react"; interface ProgressRingProps { value: number; total: number; color: string; isDarkMode: boolean; text: string; fontSize?: string; } export default function ProgressRing({ value, total, color, isDarkMode, text, fontSize = "18px", }: ProgressRingProps) { const radius = 28; const strokeWidth = 5.5; const circumference = 2 * Math.PI * radius; const percentage = total > 0 ? value / total : 0; const strokeDashoffset = circumference - percentage * circumference; return ( {text} ); }