fast-table
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -58,3 +58,3 @@ 'use strict'; | ||
column = _this$props.column, | ||
height = _this$props.height, | ||
width = _this$props.width, | ||
isLast = _this$props.isLast, | ||
@@ -64,4 +64,3 @@ record = _this$props.record, | ||
var bodyStyle = column.bodyStyle, | ||
align = column.align, | ||
width = column.width; | ||
align = column.align; | ||
@@ -83,16 +82,2 @@ var style = {}; | ||
return style; | ||
}, _this.getClassName = function () { | ||
var _this$props2 = _this.props, | ||
record = _this$props2.record, | ||
index = _this$props2.index, | ||
column = _this$props2.column; | ||
var className = column.className; | ||
var cls = ''; | ||
if (typeof className === 'function') { | ||
cls = className(column, record, index); | ||
} else if (className === 'string') { | ||
cls = className; | ||
} | ||
return (0, _classnames2.default)('td', cls); | ||
}, _temp), _possibleConstructorReturn(_this, _ret); | ||
@@ -142,3 +127,3 @@ } | ||
_extends({ | ||
className: this.getClassName() | ||
className: (0, _classnames2.default)('td', column.className) | ||
}, tdProps), | ||
@@ -145,0 +130,0 @@ _react2.default.createElement( |
{ | ||
"name": "fast-table", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "react table fast", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
75124
24
1782