+++
# -----------------------------------------------------------------------
# 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;
```
