jodhman/react-eyedrop

default styling overrides buttonClasses styles

pkuznetsovdev opened this issue · 3 comments

Usage:
image

Result:
image

Maybe I do something wrong but the custom styling is applied and overwritten with default values.

Thanks in advance!

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'.

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.

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!