"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.DocumentEdit = void 0;
var _react = _interopRequireDefault(require("react"));
var _patternsFields = require("@wix/patterns-fields");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/EditableTable/cellTypes/document/Edit.tsx";
const DocumentEdit = ({
  value,
  onChange,
  onCommit,
  onCancel,
  onStartEdit,
  inputRef,
  columnId,
  rowKey
}) => /*#__PURE__*/_react.default.createElement(_patternsFields.CellDocumentEdit, {
  value: value,
  onChange: onChange,
  onCommit: onCommit,
  onCancel: onCancel,
  onStartEdit: onStartEdit,
  inputRef: inputRef,
  dataHook: "document-edit",
  fieldId: `document-edit-${columnId}-${rowKey}`,
  __self: void 0,
  __source: {
    fileName: _jsxFileName,
    lineNumber: 15,
    columnNumber: 3
  }
});
exports.DocumentEdit = DocumentEdit;
//# sourceMappingURL=Edit.js.map