Skip to content

Commit

Permalink
Merge pull request #6118 from melloware/PR6116
Browse files Browse the repository at this point in the history
Fix #6116: Tree allow custom node icons
  • Loading branch information
nitrogenous authored Mar 14, 2024
2 parents 1917de4 + 954d7a5 commit 763c4e6
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 763c4e6

Please sign in to comment.