mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 01:23:32 -06:00
27 lines
848 B
TypeScript
27 lines
848 B
TypeScript
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// NOTE: This file will be auto generated from models.cue
|
|
// It is currenty hand written but will serve as the target for cuetsy
|
|
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
import { CanvasElementOptions } from 'app/features/canvas';
|
|
import { IconConfig } from 'app/features/canvas/elements/icon';
|
|
import { ResourceDimensionMode } from 'app/features/dimensions';
|
|
|
|
export interface PanelOptions {
|
|
root: Omit<CanvasElementOptions<IconConfig>, 'type' | 'name'>; // type is forced
|
|
}
|
|
|
|
export const defaultPanelOptions: PanelOptions = {
|
|
root: {
|
|
config: {
|
|
path: {
|
|
mode: ResourceDimensionMode.Fixed,
|
|
fixed: 'img/icons/unicons/analysis.svg',
|
|
},
|
|
fill: {
|
|
fixed: 'green'
|
|
}
|
|
},
|
|
},
|
|
};
|