Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

QueryEditorHelpProps interface

Signature

typescript
export interface QueryEditorHelpProps<TQuery extends DataQuery = DataQuery> 

Import

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

Properties

PropertyTypeDescription
datasourceDataSourceApi<TQuery>
exploreIdany
onClickExample(query: TQuery) => void

datasource property

Signature

typescript
datasource: DataSourceApi<TQuery>;

exploreId property

Signature

typescript
exploreId?: any;

onClickExample property

Signature

typescript
onClickExample: (query: TQuery) => void;