"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getMarkupFromSVGComponent = void 0;

var _server = require("react-dom/server");

var getMarkupFromSVGComponent = function getMarkupFromSVGComponent(component) {
  return "data:image/svg+xml,".concat(encodeURIComponent((0, _server.renderToStaticMarkup)(component)));
};

exports.getMarkupFromSVGComponent = getMarkupFromSVGComponent;