import React from 'react';
import { OperatorFilterValue } from '@wix/bex-core';
import { FilterProps } from '../../model';
import { OperatorFilterPicker } from '../OperatorFilterPicker';

interface OperatorFilterCustomFieldFilterProps
  extends FilterProps<OperatorFilterValue<string>> {}

export const OperatorFilterCustomFieldFilter = (
  props: OperatorFilterCustomFieldFilterProps,
) => {
  return <OperatorFilterPicker {...props} />;
};

OperatorFilterCustomFieldFilter.displayName = 'OperatorFilterCustomFieldFilter';
OperatorFilterCustomFieldFilter.renderPresetToolbarTag =
  OperatorFilterPicker.renderPresetToolbarTag;
