This commit is contained in:
2026-01-15 01:26:30 +01:00
parent 4a2d7d15a5
commit c3b308e960
102 changed files with 2532 additions and 4744 deletions

View File

@@ -1,3 +1,5 @@
'use client';
import React from 'react';
interface CircularProgressProps {
@@ -8,7 +10,7 @@ interface CircularProgressProps {
size?: number;
}
export default function CircularProgress({ value, max, label, color, size = 80 }: CircularProgressProps) {
export function CircularProgress({ value, max, label, color, size = 80 }: CircularProgressProps) {
const percentage = Math.min((value / max) * 100, 100);
const strokeWidth = 6;
const radius = (size - strokeWidth) / 2;