grafana/docs/sources/packages_api/data/registryitemwithoptions.md
Marcus Andersson cc3fc18076
Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

1.2 KiB

+++

-----------------------------------------------------------------------

Do not edit this file. It is automatically generated by API Documenter.

-----------------------------------------------------------------------

title = "RegistryItemWithOptions" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++

RegistryItemWithOptions interface

Signature

export interface RegistryItemWithOptions<TOptions = any> extends RegistryItem 

Import

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

defaultOptions?: TOptions;

getOptionsDisplayText property

Convert the options to a string

Signature

getOptionsDisplayText?: (options: TOptions) => string;