The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/data/registryitemwithoptions.md

48 lines
1.3 KiB

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "RegistryItemWithOptions"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
draft = true
+++
## RegistryItemWithOptions interface
<b>Signature</b>
```typescript
export interface RegistryItemWithOptions<TOptions = any> extends RegistryItem
```
<b>Import</b>
```typescript
import { RegistryItemWithOptions } from '@grafana/data';
```
<b>Properties</b>
| Property | Type | Description |
| --- | --- | --- |
| [defaultOptions](#defaultoptions-property) | <code>TOptions</code> | Default options used if nothing else is specified |
| [getOptionsDisplayText](#getoptionsdisplaytext-property) | <code>(options: TOptions) =&gt; string</code> | Convert the options to a string |
### defaultOptions property
Default options used if nothing else is specified
<b>Signature</b>
```typescript
defaultOptions?: TOptions;
```
### getOptionsDisplayText property
Convert the options to a string
<b>Signature</b>
```typescript
getOptionsDisplayText?: (options: TOptions) => string;
```