main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
817 bytes
|
Rev | Line | |
---|
[d565449] | 1 | var REACT_ELEMENT_TYPE;
|
---|
| 2 | function _createRawReactElement(e, r, E, l) {
|
---|
| 3 | REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol["for"] && Symbol["for"]("react.element") || 60103);
|
---|
| 4 | var o = e && e.defaultProps,
|
---|
| 5 | n = arguments.length - 3;
|
---|
| 6 | if (r || 0 === n || (r = {
|
---|
| 7 | children: void 0
|
---|
| 8 | }), 1 === n) r.children = l;else if (n > 1) {
|
---|
| 9 | for (var t = Array(n), f = 0; f < n; f++) t[f] = arguments[f + 3];
|
---|
| 10 | r.children = t;
|
---|
| 11 | }
|
---|
| 12 | if (r && o) for (var i in o) void 0 === r[i] && (r[i] = o[i]);else r || (r = o || {});
|
---|
| 13 | return {
|
---|
| 14 | $$typeof: REACT_ELEMENT_TYPE,
|
---|
| 15 | type: e,
|
---|
| 16 | key: void 0 === E ? null : "" + E,
|
---|
| 17 | ref: null,
|
---|
| 18 | props: r,
|
---|
| 19 | _owner: null
|
---|
| 20 | };
|
---|
| 21 | }
|
---|
| 22 | module.exports = _createRawReactElement, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.