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
You can call OverloadStyle at the bottom of react tree after app
<><App/><OverloadStyle/></>
but at the same time, it is important that the components you override must be initialized, if you have asynchronous loading of modules this may not work. so i just use !important
I want to customize the styles of some antd components written in cssinjs.
I created a HOC component to access the theme and override some styles and call it after defining the providers
but there was a problem with style priority
calling !important is not the best way
how to make those styles which I define were below?
Or are there other more convenient ways to extend the standard styles?
https://stackoverflow.com/questions/75286685/overriding-styles-antd-component-on-v5
The text was updated successfully, but these errors were encountered: