|
@@ -1,4 +1,8 @@
|
|
|
-import { GraphPanel } from './GraphPanel';
|
|
|
|
|
|
|
+import { ReactPanelPlugin } from '@grafana/ui';
|
|
|
|
|
+
|
|
|
import { GraphPanelEditor } from './GraphPanelEditor';
|
|
import { GraphPanelEditor } from './GraphPanelEditor';
|
|
|
|
|
+import { GraphPanel } from './GraphPanel';
|
|
|
|
|
+import { Options } from './types';
|
|
|
|
|
|
|
|
-export { GraphPanel as Panel, GraphPanelEditor as PanelOptions };
|
|
|
|
|
|
|
+export const reactPanel = new ReactPanelPlugin<Options>(GraphPanel);
|
|
|
|
|
+reactPanel.setEditor(GraphPanelEditor);
|