import { n as e, r as c, t as u } from "./useRenderElement.js";
import { t as d } from "./useCompositeItem.js";
function M(t) {
  const { render: l, className: E, style: R, state: s = c, props: o = e, refs: r = e, metadata: a, stateAttributesMapping: m, tag: p = "div", ...i } = t, { compositeProps: n, compositeRef: f } = d({ metadata: a });
  return u(p, t, {
    state: s,
    ref: [...r, f],
    props: [
      n,
      ...o,
      i
    ],
    stateAttributesMapping: m
  });
}
export {
  M as t
};

//# sourceMappingURL=CompositeItem.js.map