| 123456789101112 |
- import { ReactPanelPlugin } from '@grafana/ui';
- import { GaugePanelEditor } from './GaugePanelEditor';
- import { GaugePanel } from './GaugePanel';
- import { GaugeOptions, defaults } from './types';
- import { singleStatBaseOptionsCheck } from '../singlestat2/module';
- export const reactPanel = new ReactPanelPlugin<GaugeOptions>(GaugePanel);
- reactPanel.setEditor(GaugePanelEditor);
- reactPanel.setDefaults(defaults);
- reactPanel.setPanelTypeChangedHook(singleStatBaseOptionsCheck);
|