grafana/public/app/plugins/panel/icon/models.gen.ts

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'
}
},
},
};