+ 3
How can i use icon components from react-icons/fa in sololearn? [Solved]
4 Réponses
+ 2
Which icon do you want to use? A Fontawesome one? To use in SoloLearn, import a Fontawesome cdn instead of a React-icons cdn.
+ 3
Installation
npm install react-icons --save
Usage
import { FaBeer } from 'react-icons/fa';
class Question extends React.Component {
render() {
return <h3> Lets go for a <FaBeer />? </h3>
}
}
https://react-icons.github.io/
0
Gordon ty ,I was wondering how could I use font awesome from react icons in sololearn but seems like I need to use fa cdn