[Portaljs][s]: Build latest component dist

This commit is contained in:
Rising Odegua 2022-02-25 11:32:56 +01:00
parent bb32b74393
commit 2fcf483dba
2 changed files with 14 additions and 2 deletions

8
dist/index.cjs.js vendored
View File

@ -50,7 +50,9 @@ var parse__default = /*#__PURE__*/_interopDefaultLegacy(parse);
const Table = ({
columns,
data
data,
height,
width
}) => {
let rows = [...data];
rows = rows.map((row, i) => {
@ -58,6 +60,10 @@ const Table = ({
return row;
});
return /*#__PURE__*/jsxRuntime.jsx("div", {
style: {
height,
width
},
"data-testid": "tableGrid",
children: /*#__PURE__*/jsxRuntime.jsx(dataGrid.DataGrid, {
rows: rows,

8
dist/index.esm.js vendored
View File

@ -14,7 +14,9 @@ import parse from 'html-react-parser';
const Table = ({
columns,
data
data,
height,
width
}) => {
let rows = [...data];
rows = rows.map((row, i) => {
@ -22,6 +24,10 @@ const Table = ({
return row;
});
return /*#__PURE__*/jsx("div", {
style: {
height,
width
},
"data-testid": "tableGrid",
children: /*#__PURE__*/jsx(DataGrid, {
rows: rows,