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

Can't create custom styles for Component #10

Open
stwilz opened this issue Jan 23, 2019 · 2 comments
Open

Can't create custom styles for Component #10

stwilz opened this issue Jan 23, 2019 · 2 comments

Comments

@stwilz
Copy link

stwilz commented Jan 23, 2019

Hi! Great library.

I noticed the <StyledRect> component doesn't inherit a className from it's parent and it creates it's own style property. This makes styling the component difficult as you are reliant on the classNames provided by the library. It also means you can't extend the existing styled-component which is a bummer.

@dchhetri
Copy link

@stwilz Any workaround found? This is really silly.

@sankarnarayanansr
Copy link

try using "!important" along with css , this may help in some cases, Also note not to use same class name for other elements.

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

3 participants