// packages/components/src/composite/group-label.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 CompositeGroupLabel2 = forwardRef(function CompositeGroupLabel3(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.CompositeGroupLabel, {
    store,
    ...props,
    ref
  });
});
export {
  CompositeGroupLabel2 as CompositeGroupLabel
};
//# sourceMappingURL=group-label.js.map
