import { __assign as e } from "../../../../../tslib/tslib.es6.es.js";
import { useMemo as m } from "react";
import { copyRawValuesOnly as l } from "../html/use-props.es.js";
import { buildSVGAttrs as n } from "./utils/build-attrs.es.js";
import { createSvgRenderState as i } from "./utils/create-render-state.es.js";
function v(r, a) {
  var t = m(function() {
    var o = i();
    return n(o, a, { enableHardwareAcceleration: !1 }, r.transformTemplate), e(e({}, o.attrs), { style: e({}, o.style) });
  }, [a]);
  if (r.style) {
    var s = {};
    l(s, r.style, r), t.style = e(e({}, s), t.style);
  }
  return t;
}
export {
  v as useSVGProps
};
//# sourceMappingURL=use-props.es.js.map
