All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.jsx-runtime.dist.emotion-react-jsx-runtime.cjs.js Maven / Gradle / Ivy

The newest version!
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var ReactJSXRuntime = require('react/jsx-runtime');
var emotionElement = require('../../dist/emotion-element-b1930563.cjs.js');
require('react');
require('@emotion/cache');
require('@babel/runtime/helpers/extends');
require('@emotion/weak-memoize');
require('../../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js');
require('hoist-non-react-statics');
require('@emotion/utils');
require('@emotion/serialize');
require('@emotion/use-insertion-effect-with-fallbacks');

function _interopNamespace(e) {
  if (e && e.__esModule) return e;
  var n = Object.create(null);
  if (e) {
    Object.keys(e).forEach(function (k) {
      if (k !== 'default') {
        var d = Object.getOwnPropertyDescriptor(e, k);
        Object.defineProperty(n, k, d.get ? d : {
          enumerable: true,
          get: function () { return e[k]; }
        });
      }
    });
  }
  n["default"] = e;
  return Object.freeze(n);
}

var ReactJSXRuntime__namespace = /*#__PURE__*/_interopNamespace(ReactJSXRuntime);

var Fragment = ReactJSXRuntime__namespace.Fragment;
function jsx(type, props, key) {
  if (!emotionElement.hasOwn.call(props, 'css')) {
    return ReactJSXRuntime__namespace.jsx(type, props, key);
  }

  return ReactJSXRuntime__namespace.jsx(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key);
}
function jsxs(type, props, key) {
  if (!emotionElement.hasOwn.call(props, 'css')) {
    return ReactJSXRuntime__namespace.jsxs(type, props, key);
  }

  return ReactJSXRuntime__namespace.jsxs(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key);
}

exports.Fragment = Fragment;
exports.jsx = jsx;
exports.jsxs = jsxs;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy