import { jsx } from "react/jsx-runtime";
import { Icon, useGetAriaLabelOfDesigner } from "../../../index.mjs";
import { SchemaSettingsDropdown } from "../../../schema-settings/SchemaSettings.mjs";
import { InsertMenuItemsGroup } from "./Menu.Designer.mjs";
const MenuAdd = (props)=>{
    const { dn } = props;
    const { getAriaLabel } = useGetAriaLabelOfDesigner();
    return /*#__PURE__*/ jsx(SchemaSettingsDropdown, {
        title: /*#__PURE__*/ jsx(Icon, {
            type: "PlusOutlined",
            "aria-label": getAriaLabel('add-menu')
        }),
        children: /*#__PURE__*/ jsx(InsertMenuItemsGroup, {
            dn: dn
        })
    });
};
export { MenuAdd };
