chore: graph2 panel plugin should use the new ReactPanelPlugin from @grafana/ui
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user