import * as React from 'react' import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area' import { cn } from '@/utils/cn' interface ScrollAreaProps extends React.ComponentPropsWithoutRef { onScroll?: (e: React.UIEvent) => void } const ScrollArea = React.forwardRef< HTMLDivElement, ScrollAreaProps >(({ className, children, onScroll, ...props }, ref) => ( {children} )) ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName const ScrollBar = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, orientation = 'vertical', ...props }, ref) => ( )) ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName export { ScrollArea, ScrollBar }