/* * SPDX-FileCopyrightText: 2021-2023 The Refinery Authors * * SPDX-License-Identifier: EPL-2.0 */ import { observer } from 'mobx-react-lite'; import DirectionalSplitPane from './DirectionalSplitPane'; import { useRootStore } from './RootStoreProvider'; import EditorPane from './editor/EditorPane'; import GraphPane from './graph/GraphPane'; import TablePane from './table/TablePane'; export default observer(function WorkArea(): JSX.Element { const { themeStore } = useRootStore(); return ( } secondary={ } secondary={} primaryOnly={!themeStore.showTable} secondaryOnly={!themeStore.showGraph} /> } primaryOnly={!themeStore.showGraph && !themeStore.showTable} secondaryOnly={!themeStore.showCode} /> ); });