a2d741f60f
* regenerated packages docs. * fixed spelling issues. * fixed spelling issues.
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;