You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Mar 8, 2024
Describe the bug
As stated here you can use custom icons (svg markup) in prime react components.
However that is not the case for the Tree component (see the forked demo).
The "Documents" tree node is not rendering any icon when using svg (but the others do).
Reproducer
https://stackblitz.com/edit/ztgw27-fbci8r?file=src%2Fservice%2FNodeService.jsx
PrimeReact version
9.6.3
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Just see the forked demo.
Expected behavior
Tree must work with custom icons as other components do.
The text was updated successfully, but these errors were encountered: