import React from 'react';
import { useTranslation } from '../../../../providers/Translation/index.js';
const baseClass = 'condition-value-text';
const Text = ({ disabled, onChange, value })=>{
    const { t } = useTranslation();
    return /*#__PURE__*/ React.createElement("input", {
        className: baseClass,
        disabled: disabled,
        onChange: (e)=>onChange(e.target.value),
        placeholder: t('general:enterAValue'),
        type: "text",
        value: value || ''
    });
};
export default Text;

//# sourceMappingURL=index.js.map