import { n as ModeType, t as HeaderCategory } from "./constants3.js";
import { i as mapChildrenWithMode } from "./utils6.js";
import classNames from "classnames";
import { jsx } from "react/jsx-runtime";
import styles from "./components/Table/styles.module.scss";
const TableHead = ({ category = HeaderCategory.normal, className, children, mode, ...rest }) => {
	return /* @__PURE__ */ jsx("thead", {
		className: classNames(styles["table__head"], {
			[styles["table__head--normal"]]: category === HeaderCategory.normal,
			[styles["table__head--transparent"]]: category === HeaderCategory.transparent,
			[styles["table__head--sortable"]]: category == HeaderCategory.sortable,
			[styles["table__head--compact"]]: mode == ModeType.compact
		}, className),
		...rest,
		children: mapChildrenWithMode(children, mode)
	});
};
var TableHead_default$1 = TableHead;
export { TableHead as n, TableHead_default$1 as t };

//# sourceMappingURL=TableHead.js.map