// packages/block-editor/src/components/block-switcher/block-styles-menu.js
import { __ } from "@wordpress/i18n";
import { MenuGroup } from "@wordpress/components";
import BlockStylesMenuItems from "../block-styles/menu-items";
import { jsx } from "react/jsx-runtime";
function BlockStylesMenu({ hoveredBlock, onSwitch }) {
  const { clientId } = hoveredBlock;
  return /* @__PURE__ */ jsx(
    MenuGroup,
    {
      label: __("Styles"),
      className: "block-editor-block-switcher__styles__menugroup",
      children: /* @__PURE__ */ jsx(BlockStylesMenuItems, { clientId, onSwitch })
    }
  );
}
export {
  BlockStylesMenu as default
};
//# sourceMappingURL=block-styles-menu.js.map
