import { __assign } from "../../../../../../../../tslib@2.6.2/node_modules/tslib/tslib.es6.js";
import { isSVGComponent } from "./is-svg-component.js";
import { createUseRender } from "../use-render.js";
import { svgMotionConfig } from "../../svg/config-motion.js";
import { htmlMotionConfig } from "../../html/config-motion.js";
function createDomMotionConfig(Component, _a, preloadedFeatures, createVisualElement, projectionNodeConstructor) {
  var _b = _a.forwardMotionProps, forwardMotionProps = _b === void 0 ? false : _b;
  var baseConfig = isSVGComponent(Component) ? svgMotionConfig : htmlMotionConfig;
  return __assign(__assign({}, baseConfig), { preloadedFeatures, useRender: createUseRender(forwardMotionProps), createVisualElement, projectionNodeConstructor, Component });
}
export {
  createDomMotionConfig
};
//# sourceMappingURL=create-config.js.map
