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 · 0 comments

Comments

@kud
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.