Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import * as React from "react"; import { cn } from "@/lib/utils"; interface ScrollAreaProps extends React.HTMLAttributes<HTMLDivElement> {} const ScrollArea = React.forwardRef<HTMLDivElement, ScrollAreaProps>( ({ className, children, ...props }, ref) => ( <div ref={ref} className={cn("relative overflow-auto scrollbar-hide", className)} {...props} > {children} </div> ) ); ScrollArea.displayName = "ScrollArea"; export { ScrollArea }; |