tabler-react-2 0.1.110 → 0.1.111
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
|
@@ -110,7 +110,8 @@ var Table = exports.Table = function Table(_ref4) {
|
|
|
110
110
|
var columns = _ref4.columns,
|
|
111
111
|
data = _ref4.data,
|
|
112
112
|
nowrap = _ref4.nowrap,
|
|
113
|
-
stickyHeader = _ref4.stickyHeader
|
|
113
|
+
stickyHeader = _ref4.stickyHeader,
|
|
114
|
+
className = _ref4.className;
|
|
114
115
|
var _useState = (0, _react.useState)({
|
|
115
116
|
key: null,
|
|
116
117
|
direction: "asc"
|
|
@@ -162,7 +163,7 @@ var Table = exports.Table = function Table(_ref4) {
|
|
|
162
163
|
});
|
|
163
164
|
};
|
|
164
165
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
165
|
-
className: "table-responsive ".concat(nowrap ? "table-nowrap" : "")
|
|
166
|
+
className: "table-responsive ".concat(nowrap ? "table-nowrap" : "", " ").concat(className)
|
|
166
167
|
}, /*#__PURE__*/_react["default"].createElement("table", {
|
|
167
168
|
className: "table table-vcenter ".concat(stickyHeader ? "sticky-top" : "")
|
|
168
169
|
}, /*#__PURE__*/_react["default"].createElement("thead", null, /*#__PURE__*/_react["default"].createElement("tr", null, columns.map(function (column, index) {
|