import { Fragment as m } from "react";
import { HTMLVisualElement as o } from "../html/HTMLVisualElement.es.js";
import { SVGVisualElement as t } from "../svg/SVGVisualElement.es.js";
import { isSVGComponent as i } from "./utils/is-svg-component.es.js";
const f = (e, r) => i(e) ? new t(r) : new o(r, {
  allowProjection: e !== m
});
export {
  f as createDomVisualElement
};
//# sourceMappingURL=create-visual-element.es.js.map
