chore: graph2 panel plugin should use the new ReactPanelPlugin from @grafana/ui

This commit is contained in:
Johannes Schill
2019-02-19 11:00:23 +01:00
parent 4df78fe7ac
commit 8876d17dc0
+7 -3
View File
@@ -1,4 +1,8 @@
import { GraphPanel } from './GraphPanel';
import { GraphPanelEditor } from './GraphPanelEditor';
import { ReactPanelPlugin } from '@grafana/ui';
export { GraphPanel as Panel, GraphPanelEditor as PanelOptions };
import { GraphPanelEditor } from './GraphPanelEditor';
import { GraphPanel } from './GraphPanel';
import { Options } from './types';
export const reactPanel = new ReactPanelPlugin<Options>(GraphPanel);
reactPanel.setEditor(GraphPanelEditor);