import * as React from 'react'; import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area'; import { ScrollBar } from './Scrollbar'; import { ctw } from '../../../utils/ctw/ctw'; interface Props extends ScrollAreaPrimitive.ScrollAreaProps { orientation: 'vertical' | 'horizontal' | 'both'; } export const ScrollArea = React.forwardRef< React.ElementRef>, React.ComponentPropsWithoutRef> >(({ className, children, orientation, ...props }, ref) => ( {children} )); ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;