I want to use a font awsome icon together with css modules. Since they have "static selectors", I'm not sure how to accomplish this. F.e:
<i
className={styles.icon}
>
Hi
</i>
Now i want to add the icon with "fas fa-search fa-2x".
How can I accomplish this?
<i calssName="fas fa-search fa-2x">Hi</i>. What's the issue in using that