Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2020-10-06 11:57:12 +02:00
parent a7eb5af2f4
commit abf6b15d20
1 changed files with 1 additions and 0 deletions

View File

@ -5622,6 +5622,7 @@ module.exports = (_ => {
let isString = typeof this.props.icon == "string";
return !this.props.icon ? null : BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.SvgIcon, {
className: BDFDB.disCN.menuicon,
nativeClass: true,
iconSVG: isString ? this.props.icon : null,
name: !isString ? this.props.icon : null
});