// tmp-babel/__shared__/web/UpdateSubmitActions/index.js
import React from "react";
import { IconButton } from "@baseapp-frontend/design-system/components/web/buttons";
import { CheckMarkIcon, CloseIcon } from "@baseapp-frontend/design-system/components/web/icons";
import { jsx as _jsx, jsxs as _jsxs } from "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__ */ _jsxs("div", {
    className: "grid grid-cols-[max-content_max-content] gap-2",
    children: [/* @__PURE__ */ _jsx(IconButton, {
      onClick: handleEditCancel,
      "aria-label": cancelAriaLabel,
      children: /* @__PURE__ */ _jsx(CloseIcon, {})
    }), /* @__PURE__ */ _jsx(IconButton, {
      type: "submit",
      form: formId,
      "aria-label": ariaLabel,
      disabled,
      children: /* @__PURE__ */ _jsx(CheckMarkIcon, {})
    })]
  });
};
var UpdateSubmitActions_default = UpdateSubmitActions;

export {
  UpdateSubmitActions_default
};
//# sourceMappingURL=chunk-NNG5ZZIK.mjs.map