Answers for "How to use react-icons in reactjs"

3

how to add react icons using npm

npm install react-icons --save

# yarn 
yarn add react-icons
Posted by: Guest on August-09-2021
48

react icons

// ###### 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>
  }
}
Posted by: Guest on August-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language