import React, { InputHTMLAttributes, FunctionComponent } from 'react'; import { InlineFormLabel } from '@grafana/ui'; export interface Props extends InputHTMLAttributes { label: string; tooltip?: string; children?: React.ReactNode; } export const QueryField: FunctionComponent> = ({ label, tooltip, children }) => ( <> {label} {children} ); export const QueryInlineField: FunctionComponent = ({ ...props }) => { return (
); };