import { forwardRef, type HTMLAttributes, type ReactNode, type JSX } from "react"; import { CustomScrollArea } from "../app/renderer/components/ui/custom-scroll-area"; import { cn } from "../app/renderer/lib/utils"; export interface AgentVerticalScrollAreaProps extends HTMLAttributes { children: ReactNode; viewportClassName?: string; scrollbarClassName?: string; scrollbarThumbClassName?: string; syncKey?: unknown; } export const AgentVerticalScrollArea = forwardRef< HTMLDivElement, AgentVerticalScrollAreaProps >(function AgentVerticalScrollArea( { children, className, viewportClassName, scrollbarClassName, scrollbarThumbClassName, syncKey, ...props }, forwardedRef ): JSX.Element { "use memo"; return ( {children} ); });