+ {!hideLabel &&
{label}
}
+ {payload.map((entry, index: number) => {
+ const entryName = typeof entry.name === 'string' ? entry.name : (typeof entry.dataKey === 'string' ? entry.dataKey : 'N/A');
+ const entryValue = typeof entry.value !== 'undefined' ? entry.value : 'N/A';
+ const entryColor = typeof entry.color === 'string' ? entry.color : undefined;
+
+ return (
+
+ {entryColor && (
+
+ )}
+ {entryName}: {entryValue}
+
+ );
+ })}
+
+ )
+}
\ No newline at end of file
diff --git a/src/components/ui/progress.tsx b/src/components/ui/progress.tsx
new file mode 100644
index 0000000..433ac17
--- /dev/null
+++ b/src/components/ui/progress.tsx
@@ -0,0 +1,28 @@
+"use client"
+
+import * as React from "react"
+import * as ProgressPrimitive from "@radix-ui/react-progress"
+
+import { cn } from "@/lib/utils"
+
+const Progress = React.forwardRef<
+ React.ElementRef