diff --git a/apps/web/src/components/ui/toolbar/Toolbar.tsx b/apps/web/src/components/ui/toolbar/Toolbar.tsx index 2413da0e4..567cbbb4c 100644 --- a/apps/web/src/components/ui/toolbar/Toolbar.tsx +++ b/apps/web/src/components/ui/toolbar/Toolbar.tsx @@ -16,17 +16,18 @@ import { Separator } from '@/components/ui/separator'; import { TooltipBase as Tooltip, TooltipTrigger } from '@/components/ui/tooltip'; import { cn } from '@/lib/utils'; -export function Toolbar({ - className, - ...props -}: React.ComponentProps) { +export const Toolbar = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(function Toolbar({ className, ...props }, ref) { return ( ); -} +}); export function ToolbarToggleGroup({ className,