reactjs – How to Style React-Icons – Stack Overflow

This post was originally published on this site

style={{ color: props.color || conf.color, …, …}} One thing to note here is that all of the styles and classes are being applied directly to the returned svg element. So, in your case, you’d probably need to have a wrapping element to build out the border-radius and background color and then apply the relevant styles …

Stay up to date
Register now to get updates on promotions and coupons.

Shopping cart