Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: add disabledOpacity prop #65

Open
zhaoyao91 opened this issue Feb 16, 2020 · 0 comments
Open

Feature: add disabledOpacity prop #65

zhaoyao91 opened this issue Feb 16, 2020 · 0 comments

Comments

@zhaoyao91
Copy link

Currently the opacity is injected as inline style and set to 0.5 when the component is disabled.

I want to lower the value to 0.4, but if I set it via css, I have to put the !important flag which reduce the customization ability of the user of my lib.

So is it ok to add such a property? or just allow us to set a style object wich could override the default one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant