react awesome stack overflow code example
Example: react awesome stack overflow
//App.js
//....
//React imports
import { library } from '@fortawesome/fontawesome-svg-core' //allows later to just use icon name to render-them
import { fab } from '@fortawesome/free-brands-svg-icons'
import { faCheckSquare, faCoffee } from '@fortawesome/free-solid-svg-icons'
library.add(fab, faCheckSquare, faCoffee)