react-jsx-runtime.production.js 976 B

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * @license React
  3. * react-jsx-runtime.production.js
  4. *
  5. * Copyright (c) Meta Platforms, Inc. and affiliates.
  6. *
  7. * This source code is licensed under the MIT license found in the
  8. * LICENSE file in the root directory of this source tree.
  9. */
  10. "use strict";
  11. var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
  12. REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
  13. function jsxProd(type, config, maybeKey) {
  14. var key = null;
  15. void 0 !== maybeKey && (key = "" + maybeKey);
  16. void 0 !== config.key && (key = "" + config.key);
  17. if ("key" in config) {
  18. maybeKey = {};
  19. for (var propName in config)
  20. "key" !== propName && (maybeKey[propName] = config[propName]);
  21. } else maybeKey = config;
  22. config = maybeKey.ref;
  23. return {
  24. $$typeof: REACT_ELEMENT_TYPE,
  25. type: type,
  26. key: key,
  27. ref: void 0 !== config ? config : null,
  28. props: maybeKey
  29. };
  30. }
  31. exports.Fragment = REACT_FRAGMENT_TYPE;
  32. exports.jsx = jsxProd;
  33. exports.jsxs = jsxProd;