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
I checked your README on your main GitHub page, and noted that there is a section regarding '<IconContext.Provider>' which allows you to provide styling overrides for the icons themselves.
However, for a mobile responsive project made in conjunction with Material UI, how is it possible to make the icons from 'React Icons' to be mobile responsive based on the multiple set page widths?
I thought I could maybe pass in 'sx' props, but it doesn't seem to be the case.
This is a separate case, but this is what I did to adjust the width of a button dynamically via Material UI's width, even though I tried to later apply the same ideas to the 'IconContext.Provider' but it doesn't seem to have dynamic styling in this respect:
Describe
I checked your README on your main GitHub page, and noted that there is a section regarding '<IconContext.Provider>' which allows you to provide styling overrides for the icons themselves.
However, for a mobile responsive project made in conjunction with Material UI, how is it possible to make the icons from 'React Icons' to be mobile responsive based on the multiple set page widths?
I thought I could maybe pass in 'sx' props, but it doesn't seem to be the case.
This is a separate case, but this is what I did to adjust the width of a button dynamically via Material UI's width, even though I tried to later apply the same ideas to the 'IconContext.Provider' but it doesn't seem to have dynamic styling in this respect:
This StackOverflow post is the only one that gets close, but doesn't specify how to tap into specific Material UI specific screen widths:
Thanks!
Solution
The README to be updated with mobile responsive ideas.
Minimal sample repository URL
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: