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

[critical][styled-components] bug with withComponent #238

Open
kud opened this issue Oct 3, 2019 · 4 comments
Open

[critical][styled-components] bug with withComponent #238

kud opened this issue Oct 3, 2019 · 4 comments
Labels

Comments

@kud
Copy link

kud commented Oct 3, 2019

import BaseTitle from "./Base/Title"
import Line from "./Line"

const Root = styled.div`
  margin: 2rem 0;
`

const Title = styled.div``

// Title.Link = styled.a`
Title.Link = styled(BaseTitle.withComponent("div"))`
`

const Separator = styled.div`
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
`

const Content = styled.div``

image

@borela borela added the bug label Oct 13, 2019
@kud
Copy link
Author

kud commented Oct 25, 2019

@borela Could you guide me about that? I'd love to fix it by myself as I find it critical for me. :)

@kud
Copy link
Author

kud commented Oct 27, 2019

@AlexKvazos
Copy link

I'd also want to try and fix this

@AlexKvazos
Copy link

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

No branches or pull requests

3 participants