Reference another components class ID in a styled component?
iwasaki-kenta opened this issue · 0 comments
iwasaki-kenta commented
In styled components, this can be done via:
const Wrapper = styled.div`
&:hover ${Button} {
display: none;
}
`
Is there any way to do something similar in Picostyle? I'd like to translate a nested child component when a parent is hovered over.
EX:
div {
display: none;
}
a:hover + div {
display: block;
}