Files
grafana/public/app/plugins/panel/bargauge/module.tsx
2019-03-22 13:12:35 -07:00

12 lines
473 B
TypeScript

import { ReactPanelPlugin } from '@grafana/ui';
import { BarGaugePanel } from './BarGaugePanel';
import { BarGaugePanelEditor } from './BarGaugePanelEditor';
import { BarGaugeOptions, defaults } from './types';
import { singleStatBaseOptionsCheck } from '../singlestat2/module';
export const reactPanel = new ReactPanelPlugin<BarGaugeOptions>(BarGaugePanel, defaults);
reactPanel.editor = BarGaugePanelEditor;
reactPanel.onPanelTypeChanged = singleStatBaseOptionsCheck;