grafana/docs/sources/packages_api/data/paneleditorprops.md
Marcus Andersson a2d741f60f
Docs: run the api-extractor on master to update docs (#23726)
* regenerated packages docs.

* fixed spelling issues.

* fixed spelling issues.
2020-04-21 10:41:50 +02:00

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;