import { jsx as i } from "react/jsx-runtime";
import u from "../../../../utils/classNames.js";
const d = (n) => {
  const { column: t, hasResettableWidth: o, isResizable: s, onColumnResizeReset: a, onColumnResizeStart: r } = n, l = t.columnKey;
  return !s || !l ? null : /* @__PURE__ */ i(
    "div",
    {
      className: u(
        "table-column-resize-handle",
        o && "table-column-resize-handle-has-width"
      ),
      onPointerDown: (e) => r?.(l, e),
      onDoubleClick: (e) => {
        o && (e.preventDefault(), e.stopPropagation(), a?.(l));
      }
    }
  );
};
export {
  d as default
};
//# sourceMappingURL=TableHeaderCellResizeHandle.js.map
