how do I change color of FA icon using React? Nothing worked for me.
Thank you.
CodePudding user response:
You can use color props in Fontawesome component. like below
<FontAwesomeIcon icon = "faCaretDown" color="green"/ >
or else you can use the below, usually fontawsome inherit colour and css size
<span style="font-size: 48px; color: Dodgerblue;">
<i ></i>
</span>