import type { RefObject } from 'react' import { StudioCommandPanel, type StudioCommandPanelHandle } from '../components/StudioCommandPanel' import { PlotPreviewPanel } from '../plot/PlotPreviewPanel' import type { usePlotStudioShell } from './hooks/use-plot-studio-shell' import { PlotStudioHistoryAside } from './components/PlotStudioHistoryAside' interface PlotStudioWorkspaceProps { commandPanelRef: RefObject shell: ReturnType onExit: () => void interruptPlaceholder: string | undefined } export function PlotStudioWorkspace({ commandPanelRef, shell, onExit, interruptPlaceholder, }: PlotStudioWorkspaceProps) { return ( <>
commandPanelRef.current?.appendPreviewAttachment(attachment)} variant="pure-minimal-top" />
) }