mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* big value component * big value component * editor for font and sparkline * less logging * remove sparkline from storybook * add display value link wrapper * follow tooltip * follow tooltip * merge master * Just minor refactoring * use series after last merge * Refactoring: moving shared singlestat stuff to grafana-ui * Refactor: Moved final getSingleStatDisplayValues func
11 lines
499 B
TypeScript
11 lines
499 B
TypeScript
import { ReactPanelPlugin, sharedSingleStatMigrationCheck, sharedSingleStatOptionsCheck } from '@grafana/ui';
|
|
import { GaugePanelEditor } from './GaugePanelEditor';
|
|
import { GaugePanel } from './GaugePanel';
|
|
import { GaugeOptions, defaults } from './types';
|
|
|
|
export const reactPanel = new ReactPanelPlugin<GaugeOptions>(GaugePanel)
|
|
.setDefaults(defaults)
|
|
.setEditor(GaugePanelEditor)
|
|
.setPanelChangeHandler(sharedSingleStatOptionsCheck)
|
|
.setMigrationHandler(sharedSingleStatMigrationCheck);
|