menu
menu copied to clipboard
Expanded icon for Horizantal Mode
// expand custom icon should NOT be displayed in menu with horizontal mode. let icon = null; if (props.mode !== 'horizontal') { icon = this.props.expandIcon; // ReactNode if (typeof this.props.expandIcon === 'function') { icon = React.createElement( this.props.expandIcon, { ...this.props } ); } }
Why don't render icon for horizontal mode. I think it should be good to have possibility to change icon for horizontal mode. What about screen shoot from you "read me" page? How did you render icon?
