import { useMemo as m } from "react";
import { copyRawValuesOnly as l } from "../html/use-props.es.js";
import { createSvgRenderState as i } from "./utils/create-render-state.es.js";
import { buildSVGAttrs as a } from "../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.es.js";
import { isSVGTag as n } from "../../../../../../../motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.es.js";
function G(e, s, y, o) {
  const r = m(() => {
    const t = i();
    return a(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
