import{Icon as t}from"@material-ui/core";import o from"./PriorityMenus.css.js";import i from"../../../../IconButton/index.js";import{jsx as e}from"react/jsx-runtime";function r(r){var n=r.menuItems,c=r.devCenterRouter,s=r.isMobileView;return n.map((function(r){return e(i,{"data-testid":"".concat("PriorityMenus","_item_").concat(r.title),classes:{root:o.iconButton},tooltipProps:{title:!s&&"Menu"},onClick:function(){var t;null===(t=r.onClick)||void 0===t||t.call(r),r.to&&c.push(r.to)},children:e(t,{className:o.icon,children:r.icon})},r.title)}))}export{r as default};
