import { jsx as a } from "react/jsx-runtime";
import t from "../../../../utils/classNames.js";
import i from "./TableHeaderCellContent.js";
import { resolveHeaderCellClassName as n } from "./resolveHeaderCellClassName.js";
const f = (r) => {
  const { column: e, header: l, showSelectionColumn: o, width: s } = r;
  return e ? /* @__PURE__ */ a(
    "div",
    {
      className: t(
        n(e, l, {
          isDraggable: !0,
          isResizable: !1
        }),
        "table-head-cell-drag-overlay"
      ),
      "data-column": e.columnKey ?? String(e.key),
      role: "presentation",
      style: { width: s },
      children: /* @__PURE__ */ a(
        i,
        {
          column: e,
          header: l,
          isResizable: !1,
          showSelectionColumn: o
        }
      )
    }
  ) : null;
};
export {
  f as default
};
//# sourceMappingURL=TableHeaderDragOverlay.js.map
