/* render-svg.tsx generated by @compiled/babel-plugin v0.40.0 */
"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.RenderSVG = void 0;
require("./render-svg.compiled.css");
var React = _interopRequireWildcard(require("react"));
var _runtime = require("@compiled/react/runtime");
var _image = _interopRequireDefault(require("@atlaskit/image"));
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
var imageSizeStyles = {
  xlarge: "_1bsb1lit",
  large: "_1bsb53f4",
  medium: "_1bsb1wqb"
};
var RenderSVG = exports.RenderSVG = function RenderSVG(_ref) {
  var alt = _ref.alt,
    size = _ref.size,
    src = _ref.src,
    srcDark = _ref.srcDark;
  return /*#__PURE__*/React.createElement(_image.default, {
    src: src,
    srcDark: srcDark,
    alt: alt,
    className: (0, _runtime.ax)([size && imageSizeStyles[size]])
  });
};