mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
13 lines
524 B
TypeScript
13 lines
524 B
TypeScript
import { ReactPanelPlugin } from '@grafana/ui';
|
|
|
|
import { GaugePanelEditor } from './GaugePanelEditor';
|
|
import { GaugePanel } from './GaugePanel';
|
|
import { GaugeOptions, defaults } from './types';
|
|
import { singleStatBaseOptionsCheck, singleStatMigrationCheck } from '../singlestat2/module';
|
|
|
|
export const reactPanel = new ReactPanelPlugin<GaugeOptions>(GaugePanel)
|
|
.setDefaults(defaults)
|
|
.setEditor(GaugePanelEditor)
|
|
.setPanelChangeHandler(singleStatBaseOptionsCheck)
|
|
.setMigrationHandler(singleStatMigrationCheck);
|