import React, { FC } from 'react'; import { SelectableValue } from '@grafana/data'; import { HorizontalGroup, InlineLabel, PopoverContent, Select, InlineField } from '@grafana/ui'; import { css } from '@emotion/css'; import { INNER_LABEL_WIDTH, LABEL_WIDTH } from '../constants'; interface VariableQueryFieldProps { onChange: (value: string) => void; options: SelectableValue[]; value: string; label: string; allowCustomValue?: boolean; } export const VariableQueryField: FC = ({ label, onChange, value, options, allowCustomValue = false, }) => { return (