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
ariaLabelstring
componentReact.ComponentType<any>
descriptionstring
iconstring
imgUrlstring
labelstring
titlestring
valueT

ariaLabel property

Signature

typescript
ariaLabel?: string;

component property

Signature

typescript
component?: React.ComponentType<any>;

description property

Signature

typescript
description?: string;

icon property

Signature

typescript
icon?: string;

imgUrl property

Signature

typescript
imgUrl?: string;

label property

Signature

typescript
label?: string;

title property

Signature

typescript
title?: string;

value property

Signature

typescript
value?: T;