UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update marquee props
Dillion Verma95a620f21b66
diff --git a/registry/default/magicui/marquee.tsx b/registry/default/magicui/marquee.tsxindex 6f50a86b..6f39aa27 100644--- a/registry/default/magicui/marquee.tsx+++ b/registry/default/magicui/marquee.tsx@@ -1,18 +1,40 @@import { cn } from "@/lib/utils";+import { ComponentPropsWithoutRef } from "react";-interface MarqueeProps {+interface MarqueeProps extends ComponentPropsWithoutRef<"div"> {+ /**+ * Optional CSS class name to apply custom styles+ */className?: string;+ /**+ * Whether to reverse the animation direction+ * @default false+ */reverse?: boolean;+ /**+ * Whether to pause the animation on hover+ * @default false+ */pauseOnHover?: boolean;- children?: React.ReactNode;+ /**+ * Content to be displayed in the marquee+ */+ children: React.ReactNode;+ /**+ * Whether to animate vertically instead of horizontally+ * @default false+ */vertical?: boolean;+ /**+ * Number of times to repeat the content+ * @default 4+ */repeat?: number;- [key: string]: any;}export default function Marquee({className,- reverse,+ reverse = false,pauseOnHover = false,children,vertical = false,@@ -28,7 +50,7 @@ export default function Marquee({"flex-row": !vertical,"flex-col": vertical,},- className,+ className)}>{Array(repeat)