ui-kit-ck-consultant 0.6.7 → 0.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -892,7 +892,15 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
892
892
|
if (column && column.props && column.props.children && column.props.children.props && column.props.children.props.text) {
|
893
893
|
dataCSV += column.props.children.props.text + ";";
|
894
894
|
} else if (column && column.props && column.props.children) {
|
895
|
-
|
895
|
+
var child = column.props.children;
|
896
|
+
|
897
|
+
if (typeof child === 'string' || typeof child === 'number') {
|
898
|
+
dataCSV += child + ";";
|
899
|
+
} else if (React.isValidElement(child) && child.props && child.props.children) {
|
900
|
+
dataCSV += child.props.children.toString() + ";";
|
901
|
+
} else {
|
902
|
+
dataCSV += ';';
|
903
|
+
}
|
896
904
|
} else {
|
897
905
|
dataCSV += ';';
|
898
906
|
}
|