import * as React from 'react'; import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area'; import { cn } from '../../src/lib/utils'; function ScrollArea({ className, children, ...props }: React.ComponentProps) { return ( {/* Workaround for Radix ScrollArea bug #926: The Viewport's inner div uses display:table which breaks text-overflow:ellipsis. We override it to display:block using the [style] selector. See: https://github.com/radix-ui/primitives/issues/926 */} {children} ); } function ScrollBar({ className, orientation = 'vertical', ...props }: React.ComponentProps) { return ( ); } export { ScrollArea, ScrollBar };