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
RegistryItemWithOptions interface
Signature
typescript
export interface RegistryItemWithOptions<TOptions = any> extends RegistryItem Import
typescript
import { RegistryItemWithOptions } from '@grafana/data';Properties
| Property | Type | Description |
|---|---|---|
| defaultOptions | TOptions | Default options used if nothing else is specified |
| getOptionsDisplayText | (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;Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Scroll for more