"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }// tmp-babel/__shared__/web/UpdateSubmitActions/index.js
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
var _buttons = require('@baseapp-frontend/design-system/components/web/buttons');
var _icons = require('@baseapp-frontend/design-system/components/web/icons');
var _jsxruntime = require('react/jsx-runtime');
var UpdateSubmitActions = function UpdateSubmitActions2(_ref) {
  var formId = _ref.formId, _ref$disabled = _ref.disabled, disabled = _ref$disabled === void 0 ? false : _ref$disabled, _ref$ariaLabel = _ref.ariaLabel, ariaLabel = _ref$ariaLabel === void 0 ? "save comment edit" : _ref$ariaLabel, _ref$cancelAriaLabel = _ref.cancelAriaLabel, cancelAriaLabel = _ref$cancelAriaLabel === void 0 ? "cancel comment edit" : _ref$cancelAriaLabel, _ref$handleEditCancel = _ref.handleEditCancel, handleEditCancel = _ref$handleEditCancel === void 0 ? function() {
  } : _ref$handleEditCancel;
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", {
    className: "grid grid-cols-[max-content_max-content] gap-2",
    children: [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _buttons.IconButton, {
      onClick: handleEditCancel,
      "aria-label": cancelAriaLabel,
      children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _icons.CloseIcon, {})
    }), /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _buttons.IconButton, {
      type: "submit",
      form: formId,
      "aria-label": ariaLabel,
      disabled,
      children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _icons.CheckMarkIcon, {})
    })]
  });
};
var UpdateSubmitActions_default = UpdateSubmitActions;



exports.UpdateSubmitActions_default = UpdateSubmitActions_default;
//# sourceMappingURL=chunk-N46IPRI5.js.map