How to edit React icon size? #828
Unanswered
ArieLevental
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I know there is a size prop
<IconUsersGroup size={48} />
,but I don't like to add props and prefer to use CSS to apply global style.
Seems like adding a classname
<IconUsersGroup className="navigation-icon" />
,and adding CSS style like so
.navigation-icon { size: 2rem; }
won't work.What is the right practice / methods for this?
Thanks <3
Beta Was this translation helpful? Give feedback.
All reactions