You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in SubMenu.jsx, "itemIcon" is defined as a prop, however only expandIcon is actually rendered:
// expand custom icon should NOT be displayed in menu with horizontal mode.leticon=null;if(props.mode!=='horizontal'){icon=this.props.expandIcon;// ReactNodeif(typeofthis.props.expandIcon==='function'){icon=React.createElement(this.props.expandIcon,{ ...this.props});}}consttitle=(<divref={this.saveSubMenuTitle}style={style}className={`${prefixCls}-title`}{...titleMouseEvents}{...titleClickEvents}aria-expanded={isOpen}{...ariaOwns}aria-haspopup="true"title={typeofprops.title==='string' ? props.title : undefined}>{props.title}{icon||<iclassName={`${prefixCls}-arrow`}/>}</div>);
The text was updated successfully, but these errors were encountered:
in SubMenu.jsx, "itemIcon" is defined as a prop, however only expandIcon is actually rendered:
The text was updated successfully, but these errors were encountered: