mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
2.0 KiB
2.0 KiB
+++
-----------------------------------------------------------------------
Do not edit this file. It is automatically generated by API Documenter.
-----------------------------------------------------------------------
title = "PanelEditorProps" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" draft = true +++
PanelEditorProps interface
Signature
export interface PanelEditorProps<T = any>
Import
import { PanelEditorProps } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
data | PanelData |
|
fieldConfig | FieldConfigSource |
Panel fields configuration - temporart solution TODO[FieldConfig]: Remove when we switch old editor to new |
onFieldConfigChange | (config: FieldConfigSource) => void |
Enables panel field config manipulation TODO[FieldConfig]: Remove when we switch old editor to new |
onOptionsChange | (options: T, callback?: () => void) => void |
|
options | T |
data property
Signature
data: PanelData;
fieldConfig property
Panel fields configuration - temporart solution TODO[FieldConfig]: Remove when we switch old editor to new
Signature
fieldConfig: FieldConfigSource;
onFieldConfigChange property
Enables panel field config manipulation TODO[FieldConfig]: Remove when we switch old editor to new
Signature
onFieldConfigChange: (config: FieldConfigSource) => void;
onOptionsChange property
Signature
onOptionsChange: (options: T, callback?: () => void) => void;
options property
Signature
options: T;