es-grid-template
Version:
es-grid-template
24 lines (23 loc) • 804 B
JavaScript
import React from "react";
// import type { Person } from "../makeData";
import { getCommonPinningStyles } from "../hook/utils";
// import type { Person } from "../../tanstack-table/makeData";
const TableFooterCell = ({
header
}) => {
return /*#__PURE__*/React.createElement("td", {
// ref={el => {
// if (el) columnVirtualizer.measureElement(el)
// }}
// data-index={header.id}
key: header.id,
colSpan: header.colSpan,
style: {
display: 'flex',
...getCommonPinningStyles(header.column),
width: header?.getSize() ?? header.column.getSize(),
backgroundColor: "#fafafa"
}
}, header.column.id !== "id" && header.column.id !== "selection_column" ? /*#__PURE__*/React.createElement("span", null, "aaa") : '');
};
export default TableFooterCell;