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

Add prop for background color on hover #1

Open
Dhaiwat10 opened this issue Jul 1, 2021 · 1 comment
Open

Add prop for background color on hover #1

Dhaiwat10 opened this issue Jul 1, 2021 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Dhaiwat10
Copy link
Owner

image
image

Currently, the component's background color changes to white-ish by default when hovered. This becomes problematic when someone passes custom color props like shown above. This can be solved by adding a prop for the background color when hovered.

@Dhaiwat10 Dhaiwat10 added bug Something isn't working good first issue Good for newcomers labels Jul 1, 2021
@Killaskt
Copy link

Killaskt commented Apr 10, 2022

please add (unless its already possible and im dumb haha). For now to get around it, override the class named ".Container:hover". You can also use styled-components, if you do this &:hover { background-color: ${props -> props.backgroundHover} }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants