From 2fcf483dba21a5db2aa3c40c61393cc2b5d3badd Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Fri, 25 Feb 2022 11:32:56 +0100 Subject: [PATCH] [Portaljs][s]: Build latest component dist --- dist/index.cjs.js | 8 +++++++- dist/index.esm.js | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dist/index.cjs.js b/dist/index.cjs.js index 86afe699..ecc232b5 100644 --- a/dist/index.cjs.js +++ b/dist/index.cjs.js @@ -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, diff --git a/dist/index.esm.js b/dist/index.esm.js index 444f6e0f..7dc189f5 100644 --- a/dist/index.esm.js +++ b/dist/index.esm.js @@ -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,