import type { ReactNode } from "react"; import { useHorizontalScrollEdges } from "@/hooks/useHorizontalScrollEdges"; import { cn } from "@/lib/utils"; /** One horizontal scroll owner with non-interactive clipping indicators. */ export function HorizontalScrollViewport({ children, label, contentClassName }: { children: ReactNode; label: string; contentClassName?: string }) { const { scrollRef, contentRef, edges } = useHorizontalScrollEdges(); return (
{children}
); }