react-bootstrap-table-next
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -33,2 +33,6 @@ 'use strict'; | ||
var _footer = require('./footer'); | ||
var _footer2 = _interopRequireDefault(_footer); | ||
var _propsResolver = require('./props-resolver'); | ||
@@ -42,2 +46,6 @@ | ||
var _utils = require('./utils'); | ||
var _utils2 = _interopRequireDefault(_utils); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -122,2 +130,6 @@ | ||
var hasFooter = _utils2.default.filter(columns, function (col) { | ||
return _utils2.default.has(col, 'footer'); | ||
}).length > 0; | ||
var tableCaption = caption && _react2.default.createElement( | ||
@@ -161,2 +173,7 @@ _caption2.default, | ||
rowEvents: rowEvents | ||
}), | ||
hasFooter && _react2.default.createElement(_footer2.default, { | ||
data: this.getData(), | ||
columns: columns, | ||
className: this.props.footerClasses | ||
}) | ||
@@ -225,2 +242,3 @@ ) | ||
headerClasses: _propTypes2.default.string, | ||
footerClasses: _propTypes2.default.string, | ||
defaultSorted: _propTypes2.default.arrayOf(_propTypes2.default.shape({ | ||
@@ -227,0 +245,0 @@ dataField: _propTypes2.default.string.isRequired, |
{ | ||
"name": "react-bootstrap-table-next", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Next generation of react-bootstrap-table", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
865546
51
10209