mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 07:02:22 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
64 lines
1.2 KiB
Markdown
64 lines
1.2 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "SelectableValue"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## SelectableValue interface
|
|
|
|
Used in select elements
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export interface SelectableValue<T = any>
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { SelectableValue } from '@grafana/data';
|
|
```
|
|
<b>Properties</b>
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [description](#description-property) | <code>string</code> | |
|
|
| [imgUrl](#imgurl-property) | <code>string</code> | |
|
|
| [label](#label-property) | <code>string</code> | |
|
|
| [value](#value-property) | <code>T</code> | |
|
|
|
|
### description property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
description?: string;
|
|
```
|
|
|
|
### imgUrl property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
imgUrl?: string;
|
|
```
|
|
|
|
### label property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
label?: string;
|
|
```
|
|
|
|
### value property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
value?: T;
|
|
```
|