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

StandardEditorProps interface

Signature

typescript
export interface StandardEditorProps<TValue = any, TSettings = any, TOptions = any, TState = any> 

Import

typescript
import { StandardEditorProps } from '@grafana/data';

Properties

PropertyTypeDescription
contextStandardEditorContext<TOptions, TState>
idstring
itemStandardEditorsRegistryItem<TValue, TSettings>
onChange(value?: TValue) => void
valueTValue

context property

Signature

typescript
context: StandardEditorContext<TOptions, TState>;

id property

Signature

typescript
id?: string;

item property

Signature

typescript
item: StandardEditorsRegistryItem<TValue, TSettings>;

onChange property

Signature

typescript
onChange: (value?: TValue) => void;

value property

Signature

typescript
value: TValue;