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