Replacing svg PrimeReact Sort Icons with Custom Icons #289
-
I am hopeful that someone here can offer guidance or insights into my current challenge. Issue Description: Steps Taken: Request for Assistance: Thank you in advance for your time and consideration. I eagerly anticipate hearing from the esteemed members of the PrimeReact community and benefiting from your wealth of experience. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi there, SVG takes its icons from primeicons, my suggestion to you is to remove primeicons from the dependencies, but give them separately to each component you use. https://codesandbox.io/s/primereact-demo-forked-4mt45s?file=/src/App.js |
Beta Was this translation helpful? Give feedback.
-
Here is a working example replacing the Sort icons of the Datatable as well: https://stackblitz.com/edit/react-h8t1sm?file=src%2FApp.js |
Beta Was this translation helpful? Give feedback.
Here is a working example replacing the Sort icons of the Datatable as well: https://stackblitz.com/edit/react-h8t1sm?file=src%2FApp.js