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