+++
# -----------------------------------------------------------------------
# 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
Signature
```typescript
export interface RegistryItemWithOptions extends RegistryItem
```
Import
```typescript
import { RegistryItemWithOptions } from '@grafana/data';
```
Properties
| Property | Type | Description |
| --- | --- | --- |
| [defaultOptions](#defaultoptions-property) | TOptions
| Default options used if nothing else is specified |
| [getOptionsDisplayText](#getoptionsdisplaytext-property) | (options: TOptions) => string
| Convert the options to a string |
### defaultOptions property
Default options used if nothing else is specified
Signature
```typescript
defaultOptions?: TOptions;
```
### getOptionsDisplayText property
Convert the options to a string
Signature
```typescript
getOptionsDisplayText?: (options: TOptions) => string;
```