import * as l from "react";
var c = /* @__PURE__ */ l.forwardRef(function(e, d) {
  var n = e.prefixCls, a = e.editable, t = e.locale, o = e.style;
  return !a || a.showAdd === !1 ? null : /* @__PURE__ */ l.createElement("button", {
    ref: d,
    type: "button",
    className: "".concat(n, "-nav-add"),
    style: o,
    "aria-label": (t == null ? void 0 : t.addAriaLabel) || "Add tab",
    onClick: function(i) {
      a.onEdit("add", {
        event: i
      });
    }
  }, a.addIcon || "+");
});
export {
  c as default
};
