comment changer la couleur de l'icône react
// Like this
<FaFacebookF color="white" fontSize="1.5em" />
Shamimzz
// Like this
<FaFacebookF color="white" fontSize="1.5em" />
// Use IconContext as mentioned in the Docs.
// https://github.com/react-icons/react-icons#configuration
function BlueLargeIcon() {
return (
<IconContext.Provider
value={{ color: 'blue', size: '50px' }}
>
<div>
<FaBeer />
</div>
</IconContext.Provider>
);
}