react-table-hoc-fixed-columns
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -117,3 +117,3 @@ "use strict"; | ||
(0, _helpers.checkErrors)(_this.props.columns); | ||
_this.uniqClassName = (0, _uniqid.default)('rthfc-'); | ||
_this.uniqClassName = _this.props.uniqClassName || (0, _uniqid.default)('rthfc-'); | ||
_this.onChangePropertyList = { | ||
@@ -201,3 +201,4 @@ onResizedChange: _this.onChangeProperty('onResizedChange'), | ||
innerRef: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]), | ||
className: _propTypes.default.string | ||
className: _propTypes.default.string, | ||
uniqClassName: _propTypes.default.string | ||
}; | ||
@@ -207,3 +208,4 @@ ReactTableFixedColumns.defaultProps = { | ||
innerRef: null, | ||
className: null | ||
className: null, | ||
uniqClassName: null | ||
}; | ||
@@ -210,0 +212,0 @@ return ReactTableFixedColumns; |
@@ -77,3 +77,3 @@ "use strict"; | ||
_this.columnsWidth = {}; | ||
_this.uniqClassName = (0, _uniqid.default)('rthfc-'); | ||
_this.uniqClassName = _this.props.uniqClassName || (0, _uniqid.default)('rthfc-'); | ||
return _this; | ||
@@ -208,3 +208,4 @@ } | ||
className: _propTypes.default.string, | ||
onResizedChange: _propTypes.default.func | ||
onResizedChange: _propTypes.default.func, | ||
uniqClassName: _propTypes.default.string | ||
}; | ||
@@ -214,3 +215,4 @@ ReactTableFixedColumns.defaultProps = { | ||
className: null, | ||
onResizedChange: null | ||
onResizedChange: null, | ||
uniqClassName: null | ||
}; | ||
@@ -217,0 +219,0 @@ return ReactTableFixedColumns; |
{ | ||
"name": "react-table-hoc-fixed-columns", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "ReactTable HOC for fixed columns", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
37209
523