import type { ReactNode } from "react"; import { Maximize2, Minus, Plus } from "lucide-react"; import { Button } from "./ui/button"; export interface OrgChartActions { zoomIn: () => void; zoomOut: () => void; fit: () => void; } /** Shared camera controls can stay mounted while the chart view fades away. */ export function OrgChartControls({ zoomIn, zoomOut, fit, children }: OrgChartActions & { children?: ReactNode }) { return (