import React, { FC } from 'react'; import { SelectableValue } from '@grafana/data'; import { Segment } from '@grafana/ui'; interface Props { value: string; onChange: (item: SelectableValue) => void; } const options = ['=', '!=', '<', '>', '=~', '!~'].map>((value) => ({ label: value, value, })); export const OperatorSegment: FC = ({ value, onChange }) => { return ; };