default styling overrides buttonClasses styles
pkuznetsovdev opened this issue · 3 comments
pkuznetsovdev commented
pkuznetsovdev commented
Dived into src - the inline stylings are applied to the inner button, the only way to override is to use '!important' after every used in default styling prop. That might be a better option to use a css class instead, so the custom class will be more prioritized by default. Or just add a note in docs that some styles should be used with '!important'.
jodhman commented
Hey @aimanptz! Will have a proper look & fix for this in a few hours.
Appreciate you taking the time to report this. I'll let you know once the fix is out.
jodhman commented
Updated to version 4.1.2 where the default styles will applied to the CSS class.
Let me know if you run into any further trouble!