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.
StandardEditorProps interface
Signature
export interface StandardEditorProps<TValue = any, TSettings = any, TOptions = any, TState = any>
Import
import { StandardEditorProps } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
context | StandardEditorContext<TOptions, TState> | |
id | string | |
item | StandardEditorsRegistryItem<TValue, TSettings> | |
onChange | (value?: TValue) => void | |
value | TValue |
context property
Signature
context: StandardEditorContext<TOptions, TState>;
id property
Signature
id?: string;
item property
Signature
item: StandardEditorsRegistryItem<TValue, TSettings>;
onChange property
Signature
onChange: (value?: TValue) => void;
value property
Signature
value: TValue;