Comparing version 3.9.2 to 3.9.3
@@ -74,10 +74,10 @@ 'use strict'; | ||
if (render) { | ||
text = render(text, record, index) || {}; | ||
tdProps = text.props || {}; | ||
text = render(text, record, index); | ||
if (typeof text !== 'string' && typeof text !== 'number' && !_react2['default'].isValidElement(text) && 'children' in text) { | ||
if (text && typeof text === 'object' && !_react2['default'].isValidElement(text)) { | ||
tdProps = text.props || {}; | ||
rowSpan = tdProps.rowSpan; | ||
colSpan = tdProps.colSpan; | ||
text = text.children; | ||
} | ||
rowSpan = tdProps.rowSpan; | ||
colSpan = tdProps.colSpan; | ||
} | ||
@@ -84,0 +84,0 @@ |
{ | ||
"name": "rc-table", | ||
"version": "3.9.2", | ||
"version": "3.9.3", | ||
"description": "table ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
28232