Icônes de réaction
yarn add react-icons
# or
npm install react-icons --save
Hastings Keith
yarn add react-icons
# or
npm install react-icons --save
npm install react-icons --save
yarn add react-icons
npm install react-icons --save
// ###### 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>
}
}
import { IconContext } from "react-icons";
<IconContext.Provider value={{ color: "blue", className: "global-class-name" }}>
<div>
<FaFolder />
</div>
</IconContext.Provider>
import { FaBeer } from 'react-icons/fa';
class Question extends React.Component {
render() {
return <h3> Lets go for a <FaBeer />? </h3>
}
}