import { useStickToBottom } from "use-stick-to-bottom"; import { cn } from "~/lib/utils"; export function ScrollContainer({ className, children, scrollShadow = true, scrollShadowColor = "white", }: { className?: string; children: React.ReactNode; scrollShadow?: boolean; scrollShadowColor?: string; }) { const { scrollRef, contentRef } = useStickToBottom({ initial: "instant", }); return (