import { Button } from '@/components/ui/button' import { cn } from '@/lib/utils' import { ChevronUp } from 'lucide-react' export default function ScrollToTopButton({ scrollAreaRef, className, visible = true }: { scrollAreaRef: React.RefObject className?: string visible?: boolean }) { const handleScrollToTop = () => { scrollAreaRef.current?.scrollTo({ top: 0, behavior: 'smooth' }) } return ( ) }