Forum Discussion
Russell Gove
Nov 16, 2017Iron Contributor
Usinig Office UI Fabrc document icons in an SPFX webpart
Hi, How do I use Office UI Fabric document icons in an SPFX webpart. I'm showing a list of documents and I want to display the appropriate document type icon. The icons are documented at https://dev...
Nov 20, 2017
Hi Russell Gove, have you tried something like the PnP reusable controls?
There is a list view component there that should have support for icons (I have used it, but without icons). There is also a file type icon component that could be useful (to use directly or to check how it was implemented)
- russell goveNov 24, 2017Copper Contributor
Thanks, joel. that's just what i was looking for.
- Nov 24, 2017
You're welcome. did that work for your scenario?
- russell goveNov 25, 2017Copper Contributor
hi, i did not get a chance to try that out. i figured out how to do it with just some the fabric css . seems a lot simpler.