import{defineProperty as e}from"../../../../../../_virtual/_rollupPluginBabelHelpers.js";import t,{forwardRef as i}from"react";import o from"classnames";import r from"../../../../Divider/Divider.js";import n from"../../../../Flex/Flex.js";import s from"../../../../IconButton/IconButton.js";import a from"./MenuItemSubMenuIcon.module.scss.js";import l from"../../../../../../packages/icons/dist/react/DropdownChevronRight.js";import c from"../../../../../../components/icon/dist/Icon/Icon.js";var m=i((function(i,m){return t.createElement(n,{justify:"center",className:a.subMenuIconWrapper},!0===i.isSplit?t.createElement(t.Fragment,null,t.createElement(r,{direction:"vertical",className:a.divider}),t.createElement(s,{icon:l,className:a.splitMenuItemIconButton,kind:"tertiary",size:null,iconClassName:o(a.splitSubMenuIcon,e({},a.disabled,i.disabled)),tabIndex:-1,ref:m,active:i.active,disabled:i.disabled})):t.createElement(c,{icon:l,iconLabel:i.label,className:o(a.subMenuIcon,e({},a.disabled,i.disabled)),ignoreFocusStyle:!0,iconSize:18}))}));export{m as default};
//# sourceMappingURL=MenuItemSubMenuIcon.js.map
