API Reference@grafana/dataRegistryItemWithOptions

RegistryItemWithOptions interface

Signature

export interface RegistryItemWithOptions<TOptions = any> extends RegistryItem 

Import

import { RegistryItemWithOptions } from '@grafana/data';

Properties

PropertyTypeDescription
defaultOptionsTOptionsDefault options used if nothing else is specified
getOptionsDisplayText(options: TOptions) => stringConvert the options to a string

defaultOptions property

Default options used if nothing else is specified

Signature

defaultOptions?: TOptions;

getOptionsDisplayText property

Convert the options to a string

Signature

getOptionsDisplayText?: (options: TOptions) => string;