Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: make small gauge component option
Marc Seitz7a52c3fab53b
diff --git a/components/ui/gauge.tsx b/components/ui/gauge.tsxindex 89e2740f..a5187af1 100644--- a/components/ui/gauge.tsx+++ b/components/ui/gauge.tsx@@ -4,7 +4,7 @@ export const Gauge = ({showValue = true,}: {value: number;- size: "small" | "medium" | "large";+ size: "xs" | "small" | "medium" | "large";showValue: boolean;}) => {const circumference = 332; //2 * Math.PI * 53; // 2 * pi * radius@@ -14,6 +14,11 @@ export const Gauge = ({const strokeDashoffset = initialOffset - valueInCircumference;const sizes = {+ xs: {+ width: "24",+ height: "24",+ textSize: "text-xs",+ },small: {width: "36",height: "36",