/**
 * WordPress dependencies
 */
import { forwardRef, useContext } from '@wordpress/element';

/**
 * Internal dependencies
 */

import { MenuContext } from './context';
import * as Styled from './styles';
import { jsx as _jsx } from "react/jsx-runtime";
export const MenuGroup = forwardRef(function MenuGroup(props, ref) {
  const menuContext = useContext(MenuContext);
  return /*#__PURE__*/_jsx(Styled.MenuGroup, {
    ref: ref,
    ...props,
    store: menuContext?.store
  });
});
//# sourceMappingURL=group.js.map