This commit is contained in:
2023-11-22 18:59:30 +05:00
parent 94ccd27eb5
commit b8cec033bb
38 changed files with 551 additions and 176 deletions
+22
View File
@@ -0,0 +1,22 @@
import { CircularProgressbar, buildStyles } from "react-circular-progressbar";
interface ProgressPieProps {
value: number;
}
function ProgressPie({ value }: ProgressPieProps) {
return (
<CircularProgressbar
value={value}
strokeWidth={50}
styles={buildStyles({
trailColor: "#3D425C",
pathColor: "#798FFF",
strokeLinecap: "butt",
})}
className="w-5 h-5"
/>
);
}
export default ProgressPie;