import { jsx as t } from "react/jsx-runtime";
import { TableCell as p } from "./index-TableCell.js";
import "react";
import u from "./index-TableBodyRenderer.module.scss.js";
const f = (l) => {
  const {
    rows: n = [],
    columns: r = [],
    options: s = {},
    hideBlurred: i,
    hasGreyBody: m
  } = l;
  return t("tbody", {
    className: u.tableBody,
    children: n.map((e, o) => e.isBlurred && i ? null : t("tr", {
      children: r == null ? void 0 : r.map((a, d) => t(p, {
        isBlurred: e.isBlurred,
        row: e,
        column: a,
        options: s,
        rowIndex: o,
        colIndex: d,
        hasGreyBody: m
      }, `${o}${d}`))
    }, o))
  });
};
export {
  f as TableBodyRenderer
};
