mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
10 lines
422 B
TypeScript
10 lines
422 B
TypeScript
import { PanelPlugin, sharedSingleStatOptionsCheck } from '@grafana/ui';
|
|
import { BarGaugePanel } from './BarGaugePanel';
|
|
import { BarGaugePanelEditor } from './BarGaugePanelEditor';
|
|
import { BarGaugeOptions, defaults } from './types';
|
|
|
|
export const plugin = new PanelPlugin<BarGaugeOptions>(BarGaugePanel)
|
|
.setDefaults(defaults)
|
|
.setEditor(BarGaugePanelEditor)
|
|
.setPanelChangeHandler(sharedSingleStatOptionsCheck);
|