Using the styled component library to customize my website's style. I want to make adjustments to my imported react icon component.
<i class="fab fa-facebook"></i>
It is simple to modify this using normal CSS by targeting the <i> tag.
However, when working with React, I am utilizing the react-icon library and incorporating icons as components, like:
<FaGithub />
How can I alter properties such as font-size and line-height in this component without resorting to inline CSS and instead utilizing styled components?