1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | "use strict";
|
12 | var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
13 | REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
14 | function jsxProd(type, config, maybeKey) {
|
15 | var key = null;
|
16 | void 0 !== maybeKey && (key = "" + maybeKey);
|
17 | void 0 !== config.key && (key = "" + config.key);
|
18 | if ("key" in config) {
|
19 | maybeKey = {};
|
20 | for (var propName in config)
|
21 | "key" !== propName && (maybeKey[propName] = config[propName]);
|
22 | } else maybeKey = config;
|
23 | config = maybeKey.ref;
|
24 | return {
|
25 | $$typeof: REACT_ELEMENT_TYPE,
|
26 | type: type,
|
27 | key: key,
|
28 | ref: void 0 !== config ? config : null,
|
29 | props: maybeKey
|
30 | };
|
31 | }
|
32 | exports.Fragment = REACT_FRAGMENT_TYPE;
|
33 | exports.jsx = jsxProd;
|
34 | exports.jsxs = jsxProd;
|