export function createTextColumnFilter({ activeLabel, activeValue, loading = false, onChange, onReset, placeholder, value }) {
  return {
    activeLabel,
    activeValue,
    loading,
    onChange,
    onReset,
    placeholder,
    type: "text",
    value
  };
}

export function createOptionsColumnFilter({
  activeLabel,
  activeValue,
  emptyLabel,
  loading = false,
  onChange,
  onReset,
  options = [],
  placeholder,
  value
}) {
  return {
    activeLabel,
    activeValue,
    emptyLabel,
    loading,
    onChange,
    onReset,
    options,
    placeholder,
    value
  };
}
