Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

chore: make `min` and `max` props of `animated-circular-progress-bar.tsx` optional (#699)

Stabldev717bdd252d5e
diff --git a/registry/example/animated-circular-progress-bar-demo.tsx b/registry/example/animated-circular-progress-bar-demo.tsx
index 5c85ec69..18d8020f 100644
--- a/registry/example/animated-circular-progress-bar-demo.tsx
+++ b/registry/example/animated-circular-progress-bar-demo.tsx
@@ -21,8 +21,6 @@ export default function AnimatedCircularProgressBarDemo() {
return (
<AnimatedCircularProgressBar
- max={100}
- min={0}
value={value}
gaugePrimaryColor="rgb(79 70 229)"
gaugeSecondaryColor="rgba(0, 0, 0, 0.1)"
diff --git a/registry/magicui/animated-circular-progress-bar.tsx b/registry/magicui/animated-circular-progress-bar.tsx
index a9823e36..5a633477 100644
--- a/registry/magicui/animated-circular-progress-bar.tsx
+++ b/registry/magicui/animated-circular-progress-bar.tsx
@@ -1,9 +1,9 @@
import { cn } from "@/lib/utils";
interface AnimatedCircularProgressBarProps {
- max: number;
+ max?: number;
+ min?: number;
value: number;
- min: number;
gaugePrimaryColor: string;
gaugeSecondaryColor: string;
className?: string;