import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area"; import { cn } from "@reactive-resume/utils"; import { forwardRef } from "react"; export const ScrollArea = forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { allowOverflow?: boolean; hideScrollbar?: boolean; orientation?: "vertical" | "horizontal"; } >( ( { type = "scroll", orientation = "vertical", hideScrollbar = false, allowOverflow = false, className, children, ...props }, ref, ) => ( {children} ), ); ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName; export const ScrollBar = forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, orientation, ...props }, ref) => ( )); ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;