Update 0BDFDB.plugin.js
This commit is contained in:
parent
a7eb5af2f4
commit
abf6b15d20
|
@ -5622,6 +5622,7 @@ module.exports = (_ => {
|
||||||
let isString = typeof this.props.icon == "string";
|
let isString = typeof this.props.icon == "string";
|
||||||
return !this.props.icon ? null : BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.SvgIcon, {
|
return !this.props.icon ? null : BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.SvgIcon, {
|
||||||
className: BDFDB.disCN.menuicon,
|
className: BDFDB.disCN.menuicon,
|
||||||
|
nativeClass: true,
|
||||||
iconSVG: isString ? this.props.icon : null,
|
iconSVG: isString ? this.props.icon : null,
|
||||||
name: !isString ? this.props.icon : null
|
name: !isString ? this.props.icon : null
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue