import React__default from 'react';
import { Td } from '../styles.js';

function TableFoot({ additionalRows, 'data-testid': dataTestId, 'data-trackid': dataTrackId, }) {
    return (React__default.createElement("tfoot", { "data-testid": dataTestId, "data-trackid": dataTrackId }, additionalRows.map((row, rowIndex) => !row.hideRow && (React__default.createElement("tr", { key: `row_${rowIndex}`, role: "row", "data-disabled": row.disabled, "data-testid": dataTestId && `${dataTestId}_row_${rowIndex}`, "data-trackid": dataTrackId && `${dataTrackId}_row_${rowIndex}` }, row.cells.map((cell, cellIndex) => !cell.hideCell && (React__default.createElement(Td, { key: `cell_${cellIndex}`, textAlign: cell.textAlign, colSpan: cell.colSpan, role: "cell" }, cell.content))))))));
}

export { TableFoot as default };
