mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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
524 B
TypeScript
11 lines
524 B
TypeScript
import { ReactPanelPlugin, sharedSingleStatMigrationCheck, sharedSingleStatOptionsCheck } from '@grafana/ui';
|
|
import { SingleStatOptions, defaults } from './types';
|
|
import { SingleStatPanel } from './SingleStatPanel';
|
|
import { SingleStatEditor } from './SingleStatEditor';
|
|
|
|
export const reactPanel = new ReactPanelPlugin<SingleStatOptions>(SingleStatPanel)
|
|
.setDefaults(defaults)
|
|
.setEditor(SingleStatEditor)
|
|
.setPanelChangeHandler(sharedSingleStatOptionsCheck)
|
|
.setMigrationHandler(sharedSingleStatMigrationCheck);
|