+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "QueryEditorProps" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" draft = true +++ ## QueryEditorProps interface Signature ```typescript export interface QueryEditorProps, TQuery extends DataQuery = DataQuery, TOptions extends DataSourceJsonData = DataSourceJsonData> ``` Import ```typescript import { QueryEditorProps } from '@grafana/data'; ``` Properties | Property | Type | Description | | --- | --- | --- | | [data](#data-property) | PanelData | Contains query response filtered by refId of QueryResultBase and possible query error | | [datasource](#datasource-property) | DSType | | | [onChange](#onchange-property) | (value: TQuery) => void | | | [onRunQuery](#onrunquery-property) | () => void | | | [query](#query-property) | TQuery | | ### data property Contains query response filtered by refId of QueryResultBase and possible query error Signature ```typescript data?: PanelData; ``` ### datasource property Signature ```typescript datasource: DSType; ``` ### onChange property Signature ```typescript onChange: (value: TQuery) => void; ``` ### onRunQuery property Signature ```typescript onRunQuery: () => void; ``` ### query property Signature ```typescript query: TQuery; ```