import { t as ModeType } from "./Table.js";
import React from "react";
import classNames from "classnames";
import { jsx } from "react/jsx-runtime";
import tableStyles from "./components/Table/styles.module.scss";
const TableBody = ({ className, children, mode = ModeType.normal, ...rest }) => {
	return /* @__PURE__ */ jsx("tbody", {
		className: classNames(tableStyles["table-body"], className),
		...rest,
		children: React.Children.map(children, (child) => React.isValidElement(child) && React.cloneElement(child, { mode }))
	});
};
var TableBody_default$1 = TableBody;
export { TableBody as n, TableBody_default$1 as t };

//# sourceMappingURL=TableBody.js.map