@stokr/components-library 2.1.3 → 2.1.4
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.
|
@@ -57,14 +57,15 @@ var ReactTableWrapper = function ReactTableWrapper(props) {
|
|
|
57
57
|
var memoizedSubColumns = _react.default.useMemo(function () {
|
|
58
58
|
return makeNewColumns(props.subColumns);
|
|
59
59
|
}, []);
|
|
60
|
-
return /*#__PURE__*/_react.default.createElement(ReactTable, {
|
|
60
|
+
return /*#__PURE__*/_react.default.createElement(ReactTable, _extends({
|
|
61
61
|
columns: memoizedColumns,
|
|
62
62
|
data: memoizedData,
|
|
63
63
|
subColumns: memoizedSubColumns,
|
|
64
64
|
blue: props.blue,
|
|
65
65
|
withSubTable: props.withSubTable,
|
|
66
|
-
calculateSubData: props.calculateSubData
|
|
67
|
-
|
|
66
|
+
calculateSubData: props.calculateSubData,
|
|
67
|
+
noPagination: props.noPagination
|
|
68
|
+
}, props));
|
|
68
69
|
};
|
|
69
70
|
exports.ReactTableWrapper = ReactTableWrapper;
|
|
70
71
|
function ReactTable(props) {
|
|
@@ -168,7 +169,7 @@ ReactTable.propTypes = {
|
|
|
168
169
|
};
|
|
169
170
|
ReactTable.defaultProps = {
|
|
170
171
|
blue: false,
|
|
171
|
-
noPagination:
|
|
172
|
+
noPagination: true,
|
|
172
173
|
withSubTable: false,
|
|
173
174
|
isSubTable: false
|
|
174
175
|
};
|