Skip to content

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

fix: extract orbiting circles props

Dillion Vermad0a47c77c75b
diff --git a/registry/components/magicui/orbiting-circles.tsx b/registry/components/magicui/orbiting-circles.tsx
index 602eee98..234f6e0b 100644
--- a/registry/components/magicui/orbiting-circles.tsx
+++ b/registry/components/magicui/orbiting-circles.tsx
@@ -1,5 +1,15 @@
import { cn } from "@/lib/utils";
+export interface OrbitingCirclesProps {
+ className?: string;
+ children?: React.ReactNode;
+ reverse?: boolean;
+ duration?: number;
+ delay?: number;
+ radius?: number;
+ path?: boolean;
+}
+
export default function OrbitingCircles({
className,
children,
@@ -8,15 +18,7 @@ export default function OrbitingCircles({
delay = 10,
radius = 50,
path = true,
-}: {
- className?: string;
- children?: React.ReactNode;
- reverse?: boolean;
- duration?: number;
- delay?: number;
- radius?: number;
- path?: boolean;
-}) {
+}: OrbitingCirclesProps) {
return (
<>
{path && (