This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/dataQueryEditorHelpProps

QueryEditorHelpProps interface

Signature

export interface QueryEditorHelpProps<TQuery extends DataQuery = DataQuery> 

Import

import { QueryEditorHelpProps } from '@grafana/data';

Properties

Property Type Description
datasource DataSourceApi<TQuery>
exploreId any
onClickExample (query: TQuery) => void

datasource property

Signature

datasource: DataSourceApi<TQuery>;

exploreId property

Signature

exploreId?: any;

onClickExample property

Signature

onClickExample: (query: TQuery) => void;