'use client' interface GridToolbarProps { dirty: boolean saving: boolean canUndo: boolean canRedo: boolean showOverlay: boolean onSave: () => void onUndo: () => void onRedo: () => void onRebuild: () => void onToggleOverlay: () => void } export function GridToolbar({ dirty, saving, canUndo, canRedo, showOverlay, onSave, onUndo, onRedo, onRebuild, onToggleOverlay, }: GridToolbarProps) { return (