"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
const FormGenerator_1 = tslib_1.__importDefault(require("../../../FormGenerator.js"));
const FieldBase_1 = tslib_1.__importDefault(require("../../FieldBase/FieldBase.js"));
const ObjectDynamicField = ({ title, value, onUpdate, className, blockConfig, }) => {
    return ((0, jsx_runtime_1.jsx)(FieldBase_1.default, { title: title, className: className, onRefresh: (updatedValue) => onUpdate('', updatedValue), expandable: true, children: (0, jsx_runtime_1.jsx)(FormGenerator_1.default, { contentConfig: value, blockConfig: blockConfig, onUpdateByKey: onUpdate }) }));
};
exports.default = ObjectDynamicField;
//# sourceMappingURL=Object.js.map
