import { __assign as t } from "../../../../../tslib/tslib.es6.es.js";
import { createElement as P } from "react";
import { useHTMLProps as V } from "../html/use-props.es.js";
import { filterProps as c } from "./utils/filter-props.es.js";
import { isSVGComponent as d } from "./utils/is-svg-component.es.js";
import { useSVGProps as g } from "../svg/use-props.es.js";
function E(r) {
  r === void 0 && (r = !1);
  var f = function(e, s, i, m, o, u) {
    var l = o.latestValues, p = d(e) ? g : V, n = p(s, l, u), v = c(s, typeof e == "string", r), a = t(t(t({}, v), n), { ref: m });
    return i && (a["data-projection-id"] = i), P(e, a);
  };
  return f;
}
export {
  E as createUseRender
};
//# sourceMappingURL=use-render.es.js.map
