const require_runtime = require("../../../../../../_virtual/_rolldown/runtime.js");
const require_useSharedState = require("../../../../../../hooks/useSharedState.js");
const require_model = require("../../../../model.js");
const require_index = require("../../../fields/index.js");
let react = require("react");
react = require_runtime.__toESM(react);
require("./index.less");
//#region src/components/table/Table/tableConfig/header/CellProvider/index.tsx
const CustomHeaderCell = (props) => {
	const { field_type, lock } = props;
	const { state, dispatch } = require_useSharedState.default(require_model.Context);
	const isCheckbox = !props.record;
	require_index.getFieldByType(field_type);
	return isCheckbox ? /* @__PURE__ */ react.default.createElement(react.default.Fragment, null, props.children) : /* @__PURE__ */ react.default.createElement("div", { className: "materials-grid-table-header-cell" }, /* @__PURE__ */ react.default.createElement("div", { className: "materials-grid-table-header-cell-content" }, props.children));
};
//#endregion
exports.default = CustomHeaderCell;
