mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
12 lines
473 B
TypeScript
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;
|