freemium-ui 1.0.137 → 1.0.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs.js +0 -5
- package/lib/index.esm.js +0 -5
- package/package.json +1 -1
package/lib/index.cjs.js
CHANGED
|
@@ -18231,15 +18231,10 @@ const Table = (props) => {
|
|
|
18231
18231
|
: [...c]);
|
|
18232
18232
|
});
|
|
18233
18233
|
const { getTableProps, getTableBodyProps, headerGroups, rows, state: { selectedRowIds }, prepareRow, setColumnOrder, getToggleAllRowsSelectedProps, } = tableInstance;
|
|
18234
|
-
React__default.useEffect(() => {
|
|
18235
|
-
console.log('useEffect');
|
|
18236
|
-
}, []);
|
|
18237
18234
|
reactTable.useMountedLayoutEffect(() => {
|
|
18238
|
-
console.log('initialState?.columnOrder', initialState?.columnOrder);
|
|
18239
18235
|
setColumnOrder(initialState?.columnOrder);
|
|
18240
18236
|
}, [initialState?.columnOrder]);
|
|
18241
18237
|
reactTable.useMountedLayoutEffect(() => {
|
|
18242
|
-
console.log('selectedRowIds', selectedRowIds);
|
|
18243
18238
|
onRowSelect && onRowSelect(selectedRowIds);
|
|
18244
18239
|
}, [onRowSelect, selectedRowIds]);
|
|
18245
18240
|
return (React__default.createElement(TableContainer, { className: "fui-table" },
|
package/lib/index.esm.js
CHANGED
|
@@ -18222,15 +18222,10 @@ const Table = (props) => {
|
|
|
18222
18222
|
: [...c]);
|
|
18223
18223
|
});
|
|
18224
18224
|
const { getTableProps, getTableBodyProps, headerGroups, rows, state: { selectedRowIds }, prepareRow, setColumnOrder, getToggleAllRowsSelectedProps, } = tableInstance;
|
|
18225
|
-
React__default.useEffect(() => {
|
|
18226
|
-
console.log('useEffect');
|
|
18227
|
-
}, []);
|
|
18228
18225
|
useMountedLayoutEffect(() => {
|
|
18229
|
-
console.log('initialState?.columnOrder', initialState?.columnOrder);
|
|
18230
18226
|
setColumnOrder(initialState?.columnOrder);
|
|
18231
18227
|
}, [initialState?.columnOrder]);
|
|
18232
18228
|
useMountedLayoutEffect(() => {
|
|
18233
|
-
console.log('selectedRowIds', selectedRowIds);
|
|
18234
18229
|
onRowSelect && onRowSelect(selectedRowIds);
|
|
18235
18230
|
}, [onRowSelect, selectedRowIds]);
|
|
18236
18231
|
return (React__default.createElement(TableContainer, { className: "fui-table" },
|