import { useMemo as m } from "react";
import { copyRawValuesOnly as l } from "../html/use-props.es.js";
import { buildSVGAttrs as i } from "./utils/build-attrs.es.js";
import { createSvgRenderState as a } from "./utils/create-render-state.es.js";
import { isSVGTag as n } from "./utils/is-svg-tag.es.js";
function G(e, s, y, o) {
  const r = m(() => {
    const t = a();
    return i(t, s, n(o), e.transformTemplate, e.style), {
      ...t.attrs,
      style: { ...t.style }
    };
  }, [s]);
  if (e.style) {
    const t = {};
    l(t, e.style, e), r.style = { ...t, ...r.style };
  }
  return r;
}
export {
  G as useSVGProps
};
//# sourceMappingURL=use-props.es.js.map
