import { ScrollArea } from '@base-ui/react/scroll-area'; import { CSSProperties, PropsWithChildren, Ref } from 'react'; import { cx } from '../../utils/styleUtils'; import style from './ScrollArea.module.scss'; interface ScrollAreaProps { className?: string; viewportClassName?: string; contentClassName?: string; contentStyle?: CSSProperties; ref?: Ref; orientation?: 'vertical' | 'horizontal'; } export default function StyledScrollArea({ className, viewportClassName, contentClassName, contentStyle, children, ref, orientation = 'vertical', }: PropsWithChildren) { return ( {children} ); }