mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #15530 from grafana/graph2-using-reactpanelplugin
graph2 should use ReactPanelPlugin from @grafana/ui
This commit is contained in:
commit
5b1cf9c94f
@ -1,4 +1,8 @@
|
|||||||
import { GraphPanel } from './GraphPanel';
|
import { ReactPanelPlugin } from '@grafana/ui';
|
||||||
import { GraphPanelEditor } from './GraphPanelEditor';
|
|
||||||
|
|
||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user