'use strict';
import { jsx } from 'react/jsx-runtime';
import { Input } from '../../../../fd-component-toolbox/input/Input.js';

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", {
  value,
  configurable: true
});
function TextFilter({
  displayName,
  rightHandResult,
  onRightHandChange,
  inputId,
  inputRef,
  onBlur
}) {
  return /* @__PURE__ */jsx(Input, {
    inputId,
    label: displayName,
    showClearIcon: true,
    value: rightHandResult,
    onChange: onRightHandChange,
    variant: "float",
    ref: inputRef,
    onBlur
  });
}
__name(TextFilter, "TextFilter");

export { TextFilter };
