import { ChevronRightIcon } from 'lucide-react' import type { PropsWithChildren, ReactNode } from 'react' import { cn, Collapsible, CollapsibleContent, CollapsibleTrigger } from 'ui' type ToolGroupProps = PropsWithChildren<{ label: ReactNode /** Shimmers the label to show work is in progress. */ isActive?: boolean }> /** Folds a run of `Tool` rows behind a single summary row. */ export function ToolGroup({ label, isActive = false, children }: ToolGroupProps) { return ( {label}
{children}
) }