tabler-react-2 0.1.127 → 0.1.128
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/dist/table/index.js
CHANGED
|
@@ -119,7 +119,9 @@ var Table = exports.Table = function Table(_ref4) {
|
|
|
119
119
|
_ref4$showPagination = _ref4.showPagination,
|
|
120
120
|
showPagination = _ref4$showPagination === void 0 ? false : _ref4$showPagination,
|
|
121
121
|
_ref4$defaultRowsPerP = _ref4.defaultRowsPerPage,
|
|
122
|
-
defaultRowsPerPage = _ref4$defaultRowsPerP === void 0 ? 10 : _ref4$defaultRowsPerP
|
|
122
|
+
defaultRowsPerPage = _ref4$defaultRowsPerP === void 0 ? 10 : _ref4$defaultRowsPerP,
|
|
123
|
+
_ref4$tableClassName = _ref4.tableClassName,
|
|
124
|
+
tableClassName = _ref4$tableClassName === void 0 ? "" : _ref4$tableClassName;
|
|
123
125
|
var _useState = (0, _react.useState)({
|
|
124
126
|
key: null,
|
|
125
127
|
direction: "asc"
|
|
@@ -189,7 +191,7 @@ var Table = exports.Table = function Table(_ref4) {
|
|
|
189
191
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
190
192
|
className: "table-responsive ".concat(nowrap ? "table-nowrap" : "", " ").concat(className)
|
|
191
193
|
}, /*#__PURE__*/_react["default"].createElement("table", {
|
|
192
|
-
className: "table table-vcenter ".concat(stickyHeader ? "sticky-top" : "")
|
|
194
|
+
className: "table table-vcenter ".concat(stickyHeader ? "sticky-top" : "", " ").concat(tableClassName)
|
|
193
195
|
}, /*#__PURE__*/_react["default"].createElement("thead", null, /*#__PURE__*/_react["default"].createElement("tr", null, columns.map(function (column, idx) {
|
|
194
196
|
return /*#__PURE__*/_react["default"].createElement("th", {
|
|
195
197
|
key: idx,
|