diff --git a/public/app/plugins/panel/graph2/module.tsx b/public/app/plugins/panel/graph2/module.tsx index a3a3fadf6bf..6dd6d4a77c4 100644 --- a/public/app/plugins/panel/graph2/module.tsx +++ b/public/app/plugins/panel/graph2/module.tsx @@ -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(GraphPanel); +reactPanel.setEditor(GraphPanelEditor);