+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "QueryEditorProps"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## 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
| |
| [exploreId](#exploreid-property) | any
| |
| [exploreMode](#exploremode-property) | ExploreMode
| |
| [history](#history-property) | HistoryItem[]
| |
| [onBlur](#onblur-property) | () => void
| |
| [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;
```
### exploreId property
Signature
```typescript
exploreId?: any;
```
### exploreMode property
Signature
```typescript
exploreMode?: ExploreMode;
```
### history property
Signature
```typescript
history?: HistoryItem[];
```
### onBlur property
Signature
```typescript
onBlur?: () => void;
```
### onChange property
Signature
```typescript
onChange: (value: TQuery) => void;
```
### onRunQuery property
Signature
```typescript
onRunQuery: () => void;
```
### query property
Signature
```typescript
query: TQuery;
```