API Reference@grafana/dataStandardEditorProps

StandardEditorProps interface

Signature

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

Import

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

Properties

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

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;