import { cn } from "@/lib/utils"; import { ComponentPropsWithoutRef } from "react"; 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; /** * 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; } export function Marquee({ className, reverse = false, pauseOnHover = false, children, vertical = false, repeat = 4, ...props }: MarqueeProps) { return (