import { HTMLVisualElement } from "./index272.js";
import { SVGVisualElement } from "./index280.js";
import { isSVGComponent } from "./index324.js";
import { Fragment } from "react";
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
var createDomVisualElement = (Component, options) => {
	return options.isSVG ?? isSVGComponent(Component) ? new SVGVisualElement(options) : new HTMLVisualElement(options, { allowProjection: Component !== Fragment });
};
//#endregion
export { createDomVisualElement };

//# sourceMappingURL=index336.js.map