import * as t from "react";
import m from "../../../rc-resize-observer/es/index.mjs";
import u from "./MeasureCell.mjs";
function R(e) {
  var a = e.prefixCls, i = e.columnsKey, n = e.onColumnResize;
  return /* @__PURE__ */ t.createElement("tr", {
    "aria-hidden": "true",
    className: "".concat(a, "-measure-row"),
    style: {
      height: 0,
      fontSize: 0
    }
  }, /* @__PURE__ */ t.createElement(m.Collection, {
    onBatchResize: function(s) {
      s.forEach(function(r) {
        var c = r.data, l = r.size;
        n(c, l.offsetWidth);
      });
    }
  }, i.map(function(o) {
    return /* @__PURE__ */ t.createElement(u, {
      key: o,
      columnKey: o,
      onColumnResize: n
    });
  })));
}
export {
  R as default
};
