import { selectors } from '@grafana/e2e-selectors'; import { InlineSwitch } from '@grafana/ui'; import { PanelEditor } from './PanelEditor'; export interface Props { panelEditor: PanelEditor; } export function PanelEditControls({ panelEditor }: Props) { const { tableView, dataPane } = panelEditor.useState(); return ( <> {dataPane && ( )} ); }