Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -51,7 +51,12 @@ var TableFooter = function (_Component) {
}, this.props.tableFooterClass);
return _react2.default.createElement(
'div',
{ ref: 'container', className: containerClasses, style: this.props.style },
{
ref: function ref(node) {
return _this2.container = node;
},
className: containerClasses,
style: this.props.style },
this.props.children.map(function (footerItem, footerItemIndex) {
return _react2.default.createElement(
'span',
@@ -65,7 +70,9 @@ var TableFooter = function (_Component) {
null,
_react2.default.createElement(
'tr',
{ ref: 'footer' },
{ ref: function ref(node) {
return _this2.footer = node;
} },
hideSelectColumn ? null : _this2.renderSelectionOrExpandCol(),
!expandColumnVisible ? null : _this2.renderSelectionOrExpandCol(),
_this2.props.columns.map(function (columnItem, colIndex) {