import type { LucideIcon } from "lucide-react"; import { cls } from "@/lib/utils"; const IconTextMarquee = ({ centerIcon: CenterIcon, texts }: { centerIcon: LucideIcon; texts: string[] }) => { const items = [...texts, ...texts]; return (
{Array.from({ length: 10 }).map((_, row) => (
{items.map((text, i) => (

{text}

))}
))}
); }; export default IconTextMarquee;