Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

SelectableValue interface

Used in select elements

Signature

typescript
export interface SelectableValue<T = any> 

Import

typescript
import { SelectableValue } from '@grafana/data';

Properties

PropertyTypeDescription
descriptionstring
imgUrlstring
labelstring
valueT

description property

Signature

typescript
description?: string;

imgUrl property

Signature

typescript
imgUrl?: string;

label property

Signature

typescript
label?: string;

value property

Signature

typescript
value?: T;