"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const React = require("react");
const HTMLVisualElement = require("./dist-es-render-html-HTMLVisualElement.cjs");
const SVGVisualElement = require("./dist-es-render-svg-SVGVisualElement.cjs");
const isSvgComponent = require("./dist-es-render-dom-utils-is-svg-component.cjs");
const createDomVisualElement = (Component, options) => {
  return isSvgComponent.isSVGComponent(Component) ? new SVGVisualElement.SVGVisualElement(options) : new HTMLVisualElement.HTMLVisualElement(options, {
    allowProjection: Component !== React.Fragment
  });
};
exports.createDomVisualElement = createDomVisualElement;
//# sourceMappingURL=dist-es-render-dom-create-visual-element.cjs.map
