"use client"; // Adapted from Magic UI (MIT). See THIRD_PARTY_NOTICES.md. import { type ComponentProps, useState } from "react"; export interface MarqueeProps extends ComponentProps<"div"> { vertical?: boolean; reverse?: boolean; paused?: boolean; /** Show an accessible pause control. Keep it when content moves automatically. */ controls?: boolean; } export function Marquee({ children, className = "", vertical = false, reverse = false, paused = false, controls = true, ...props }: MarqueeProps) { const [stopped, setStopped] = useState(false); return (