ui-kit-ck-consultant 0.6.21 → 0.6.22
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -906,18 +906,18 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
906
906
|
|
907
907
|
if (table) {
|
908
908
|
var thead = _this.getArray(table.props.children).find(function (child) {
|
909
|
-
return child.type === 'Thead';
|
909
|
+
return child.type.name === 'Thead';
|
910
910
|
});
|
911
911
|
|
912
912
|
var tbody = _this.getArray(table.props.children).find(function (child) {
|
913
|
-
return child.type === 'Tbody';
|
913
|
+
return child.type.name === 'Tbody';
|
914
914
|
});
|
915
915
|
|
916
916
|
if (thead) {
|
917
917
|
console.log('head');
|
918
918
|
|
919
919
|
var headerRow = _this.getArray(thead.props.children).find(function (row) {
|
920
|
-
return row.type === 'Tr';
|
920
|
+
return row.type.name === 'Tr';
|
921
921
|
});
|
922
922
|
|
923
923
|
if (headerRow) {
|