import { jsx as _jsx } from "react/jsx-runtime";
import { TextInput } from '@gravity-ui/uikit';
import { formGeneratorCn } from "../../../utils/cn.js";
import FieldBase from "../../FieldBase/FieldBase.js";
const b = formGeneratorCn('text-dynamic-field');
const TextDynamicField = ({ title, value, onUpdate, className }) => {
    return (_jsx(FieldBase, { title: title, className: b(null, className), onRefresh: onUpdate, children: _jsx(TextInput, { value: value || '', onUpdate: onUpdate }) }));
};
export default TextDynamicField;
//# sourceMappingURL=Text.js.map
