Merge pull request #15530 from grafana/graph2-using-reactpanelplugin

graph2 should use ReactPanelPlugin from @grafana/ui
This commit is contained in:
Torkel Ödegaard 2019-02-19 12:08:02 +01:00 committed by GitHub
commit 5b1cf9c94f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);