// packages/components/src/composite/group.tsx
import * as Ariakit from "@ariakit/react";
import { forwardRef } from "@wordpress/element";
import { useCompositeContext } from "./context.js";
import { jsx as _jsx } from "react/jsx-runtime";
var CompositeGroup2 = forwardRef(function CompositeGroup3(props, ref) {
  var _props$store;
  const context = useCompositeContext();
  const store = (_props$store = props.store) !== null && _props$store !== void 0 ? _props$store : context.store;
  return /* @__PURE__ */ _jsx(Ariakit.CompositeGroup, {
    store,
    ...props,
    ref
  });
});
export {
  CompositeGroup2 as CompositeGroup
};
//# sourceMappingURL=group.js.map
