import{__rest as e,__assign as l}from"../../../../node_modules/tslib/tslib.es6.js";import o from"react";import r from"../TableCommands/TableColumnActionPanel.js";import t from"../../../../node_modules/@material-ui/core/esm/TableCell/TableCell.js";export default function(m){var n=m.addColumnAfter,a=m.attributes,d=m.children,u=m.removeColumn,i=m.row,s=void 0===i?0:i,c=m.column,C=void 0===c?0:c,b=m.styleGenerator,f=m.editorMode,v=e(m,["addColumnAfter","attributes","children","removeColumn","row","column","styleGenerator","editorMode"]),p=b(),A=p.headerCell,T=p.cell;return o.createElement(o.Fragment,null,o.createElement(t,l({"data-row":s,"data-column":C},a,v,{className:-1===s?A:T}),d,f&&0===s&&n&&u?o.createElement(r,{columnIndex:C,addColumnAfter:n,removeColumn:u,enableDeletion:C>0}):null))}
//# sourceMappingURL=TableCell.js.map
