Open bostrom opened 5 years ago
Apparently the same applies for using +
.
const StyledP = styled.p`
text-align: center;
+ ${P} {
color: ${({ theme }) => theme.colors.white};
}
`;
Related issue with styled components and specific nesting issues:
Referencing multiple child styled-components on the same row breaks syntax highlighting for the rest of the file.
Example: