Use icons from @fortawesome/react-fontawesome
vincentfretin opened this issue · 0 comments
vincentfretin commented
For GDPR reason to have one less external url to fetch resources from, and as a bonus reduce size of downloaded assets, replace usage of https://maxcdn.bootstrapcdn.com used for fontawesome icons
aframe-inspector/src/components/Main.js
Lines 14 to 17 in 72fd461
by @fortawesome/react-fontawesome npm package.
That's it, instead of using class "fa fa-pause" on an element, you use
import { faPause } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
<FontAwesomeIcon icon={faPause} />