import type { HTMLAttributes, JSX, ReactNode } from "react"; import { CustomScrollArea } from "../../../../app/renderer/components/ui/custom-scroll-area"; import { cn } from "../../../../app/renderer/lib/utils"; interface AgentToolScrollAreaProps extends HTMLAttributes { children: ReactNode; viewportClassName?: string; maxHeightClassName?: string; } export function AgentToolScrollArea({ children, className, viewportClassName, maxHeightClassName = "max-h-[240px]", ...props }: AgentToolScrollAreaProps): JSX.Element { "use memo"; return ( {children} ); }