+++ # ----------------------------------------------------------------------- # 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 ```typescript export interface PanelEditorProps ``` Import ```typescript import { PanelEditorProps } from '@grafana/data'; ``` Properties | Property | Type | Description | | --- | --- | --- | | [data](#data-property) | PanelData | | | [fieldConfig](#fieldconfig-property) | FieldConfigSource | Panel fields configuration - temporart solution TODO\[FieldConfig\]: Remove when we switch old editor to new | | [onFieldConfigChange](#onfieldconfigchange-property) | (config: FieldConfigSource) => void | Enables panel field config manipulation TODO\[FieldConfig\]: Remove when we switch old editor to new | | [onOptionsChange](#onoptionschange-property) | (options: T, callback?: () => void) => void | | | [options](#options-property) | T | | ### data property Signature ```typescript data: PanelData; ``` ### fieldConfig property Panel fields configuration - temporart solution TODO\[FieldConfig\]: Remove when we switch old editor to new Signature ```typescript fieldConfig: FieldConfigSource; ``` ### onFieldConfigChange property Enables panel field config manipulation TODO\[FieldConfig\]: Remove when we switch old editor to new Signature ```typescript onFieldConfigChange: (config: FieldConfigSource) => void; ``` ### onOptionsChange property Signature ```typescript onOptionsChange: (options: T, callback?: () => void) => void; ``` ### options property Signature ```typescript options: T; ```