import { a as TextAlign, n as ModeType } from "./constants3.js";
import classNames from "classnames";
import { jsx } from "react/jsx-runtime";
import styles from "./components/Table/styles.module.scss";
const TableCell = ({ nowrap = false, textAlign = TextAlign.left, dataLabel, children, className, testId, mode = ModeType.normal, ...rest }) => {
	return /* @__PURE__ */ jsx("td", {
		className: classNames(styles["table__cell"], { [styles["table__cell--compact"]]: mode === ModeType.compact }, { [styles["table__cell--nowrap"]]: nowrap }, { [styles["table__cell--center"]]: textAlign === "center" }, { [styles["table__cell--right"]]: textAlign === "right" }, className),
		"data-label": dataLabel,
		"data-testid": testId,
		...rest,
		children
	});
};
var TableCell_default$1 = TableCell;
export { TableCell as n, TableCell_default$1 as t };

//# sourceMappingURL=TableCell.js.map