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