// Libraries import React, { memo } from 'react'; // Types import { InlineFormLabel } from '@grafana/ui'; export interface PromExploreExtraFieldProps { label: string; onChangeFunc: (e: React.SyntheticEvent) => void; onKeyDownFunc: (e: React.KeyboardEvent) => void; value: string; hasTooltip?: boolean; tooltipContent?: string; } export function PromExploreExtraField(props: PromExploreExtraFieldProps) { const { label, onChangeFunc, onKeyDownFunc, value, hasTooltip, tooltipContent } = props; return (
{label}
); } export default memo(PromExploreExtraField);