"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const tslib_es6 = require("../../../../../../../../tslib@2.6.2/node_modules/tslib/tslib.es6.js");
const isSvgComponent = require("./is-svg-component.js");
const useRender = require("../use-render.js");
const configMotion = require("../../svg/config-motion.js");
const configMotion$1 = require("../../html/config-motion.js");
function createDomMotionConfig(Component, _a, preloadedFeatures, createVisualElement, projectionNodeConstructor) {
  var _b = _a.forwardMotionProps, forwardMotionProps = _b === void 0 ? false : _b;
  var baseConfig = isSvgComponent.isSVGComponent(Component) ? configMotion.svgMotionConfig : configMotion$1.htmlMotionConfig;
  return tslib_es6.__assign(tslib_es6.__assign({}, baseConfig), { preloadedFeatures, useRender: useRender.createUseRender(forwardMotionProps), createVisualElement, projectionNodeConstructor, Component });
}
exports.createDomMotionConfig = createDomMotionConfig;
//# sourceMappingURL=create-config.js.map
