danawoodman / react-fontawesome

A React Font Awesome component.
https://www.npmjs.com/package/react-fontawesome
MIT License
667 stars 72 forks source link

Seems to require css file #52

Closed jbernard1 closed 7 years ago

jbernard1 commented 7 years ago

I had the impression that we wouldn't need to depend on a css file however without it nothing gets rendered on my component.

avastamin commented 7 years ago

You need to link CSS . https://github.com/danawoodman/react-fontawesome/issues/44

danawoodman commented 7 years ago

This would require the use of a build tool like webpack to bundle the CSS and fonts in that case which this project has no intent to require on end users. You can use the CDN version or use webpack or similar in your project. Readme explains how to do this. Thanks for understanding 👍