trepur_components 0.2.60 → 0.2.61

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.
@@ -100,7 +100,12 @@ const TextAndTitle = _ref => {
100
100
  const destructChildren = children => {
101
101
  let data = '';
102
102
  children && children.map(child => {
103
- data += "".concat(JSON.parse(JSON.stringify(child)).props.children);
103
+ const obj = JSON.parse(JSON.stringify(child));
104
+ console.log(obj);
105
+ obj.props.children[0].props.childen.map(item => {
106
+ console.log('item: ', item);
107
+ if (item.props) data += item.props.children;else data += item;
108
+ });
104
109
  });
105
110
  return data;
106
111
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "trepur_components",
3
3
  "description": "component lib",
4
4
  "author": "trepur_ttenneb",
5
- "version": "0.2.60",
5
+ "version": "0.2.61",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "react",