Skip to content

Commit

Permalink
Fix #6116: Tree allow custom node icons
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Mar 8, 2024
1 parent 50689b5 commit 954d7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/tree/UITreeNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ export const UITreeNode = React.memo((props) => {
getPTOptions('nodeIcon')
);

return <span {...nodeIconProps}></span>;
return IconUtils.getJSXIcon(icon, { ...nodeIconProps }, { props });
}

return null;
Expand Down

0 comments on commit 954d7a5

Please sign in to comment.