KOOHAWN/AI_PDF_TOOLKIt
0
1import type { ComponentPropsWithoutRef } from 'react';2import { cn } from '../../lib/utils';3 4type WorkspaceToolbarProps = ComponentPropsWithoutRef<'div'>;5 6export function WorkspaceToolbar({ className, children, ...props }: WorkspaceToolbarProps) {7 return (8 <div9 role="toolbar"10 className={cn(11 'flex h-12 min-h-12 flex-shrink-0 items-center gap-2 overflow-x-auto overflow-y-hidden border-b border-border bg-panel-translucent px-4 backdrop-blur',12 className,13 )}14 {...props}15 >16 {children}17 </div>18 );19}20 