@unsetsoft/ryunixjs 0.4.15-nightly.13 → 0.4.15-nightly.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/Ryunix.js CHANGED
@@ -101,9 +101,19 @@
101
101
  };
102
102
 
103
103
  const Fragments = ({ children }) => {
104
- return children.map((c, index) => {
105
- return createElement(c.type, c.props, ...c.props.children)
106
- })
104
+ /*
105
+ children: [
106
+ {
107
+ type: "button",
108
+ props: []
109
+ }
110
+ ]
111
+ */
112
+
113
+ children.map((c, index) => {
114
+ const newElement = createElement(c.type, c.props, ...c.props.children);
115
+ console.log(newElement, children);
116
+ });
107
117
  };
108
118
 
109
119
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsetsoft/ryunixjs",
3
- "version": "0.4.15-nightly.13",
3
+ "version": "0.4.15-nightly.14",
4
4
  "license": "MIT",
5
5
  "main": "./dist/Ryunix.js",
6
6
  "types": "./dist/Ryunix.d.ts",
@@ -61,8 +61,18 @@ const createTextElement = (text) => {
61
61
  }
62
62
 
63
63
  const Fragments = ({ children }) => {
64
- return children.map((c, index) => {
65
- return createElement(c.type, c.props, ...c.props.children)
64
+ /*
65
+ children: [
66
+ {
67
+ type: "button",
68
+ props: []
69
+ }
70
+ ]
71
+ */
72
+
73
+ children.map((c, index) => {
74
+ const newElement = createElement(c.type, c.props, ...c.props.children)
75
+ console.log(newElement, children)
66
76
  })
67
77
  }
68
78