ui-kit-ck-consultant 0.6.12 → 0.6.14

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 CHANGED
@@ -883,14 +883,14 @@ var Table = /*#__PURE__*/function (_React$Component) {
883
883
  }
884
884
  };
885
885
 
886
- _this.getCSV = function (callback) {
887
- extractText = function extractText(node) {
888
- if (typeof node === 'string') return node.trim();
889
- if (Array.isArray(node)) return node.map(_this.extractText).join(' ');
890
- if (node.props && node.props.children) return _this.extractText(node.props.children);
891
- return '';
892
- };
886
+ _this.extractText = function (node) {
887
+ if (typeof node === 'string') return node.trim();
888
+ if (Array.isArray(node)) return node.map(_this.extractText).join(' ');
889
+ if (node.props && node.props.children) return _this.extractText(node.props.children);
890
+ return '';
891
+ };
893
892
 
893
+ _this.getCSV = function (callback) {
894
894
  var dataCSV = '';
895
895
 
896
896
  if (_this.props && _this.props.children) {