diff --git a/components/lib/tree/UITreeNode.js b/components/lib/tree/UITreeNode.js index 96a580efc2..055774ab04 100644 --- a/components/lib/tree/UITreeNode.js +++ b/components/lib/tree/UITreeNode.js @@ -714,7 +714,7 @@ export const UITreeNode = React.memo((props) => { getPTOptions('nodeIcon') ); - return ; + return IconUtils.getJSXIcon(icon, { ...nodeIconProps }, { props }); } return null;