"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),s=require("../html/use-props.mjs.js"),r=require("../svg/use-props.mjs.js"),t=require("./utils/filter-props.mjs.js"),i=require("./utils/is-svg-component.mjs.js"),o=require("../../../../../motion-dom/dist/es/value/utils/is-motion-value.mjs.js");exports.useRender=function(u,n,l,p,m){let{latestValues:j}=p,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const c=((arguments.length>6?arguments[6]:void 0)??i.isSVGComponent(u)?r.useSVGProps:s.useHTMLProps)(n,j,m,u),d=t.filterProps(n,"string"==typeof u,a),v=u!==e.Fragment?{...d,...c,ref:l}:{},{children:g}=n,f=e.useMemo((()=>o.isMotionValue(g)?g.get():g),[g]);return e.createElement(u,{...v,children:f})};
//# sourceMappingURL=use-render.mjs.js.map
