Answers for "react icon install"

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
6

install react icon

npm install react-icons --save
Posted by: Guest on August-20-2020
0

how to add icon in react js

import {FaTwitter} from "react-icons/fa"
import {IconContext} from "react-icons"

const Bare = () => {
  return (
   <IconContext.Provider value={{ style: {fontSize: '30px', color: "rgb(0, 123, 255)"}}}>
       <div>
         <FaTwitter />
       </div>
    </IconContext.Provider>
  )
}
Posted by: Guest on November-04-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language