You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
530 B

import { HistoryItem } from '@grafana/data';
import { PromQuery } from '../../types';
import type PromQlLanguageProvider from '../../language_provider';
// we need to store this in a separate file,
// because we have an async-wrapper around,
// the react-component, and it needs the same
// props as the sync-component.
export type Props = {
initialValue: string;
languageProvider: PromQlLanguageProvider;
history: Array<HistoryItem<PromQuery>>;
onRunQuery: (value: string) => void;
onBlur: (value: string) => void;
};