You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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