Toggling comments for row
nabati opened this issue · comments
Poyan Nabati commented
Version 1.0.7
Problem description:
Toggling a line comment on a styled component property adds //-style comments, which doesn't compile properly. Instead, the plugin should add /* */ style comments.
Currently the following
const OnText = styled(Text)`
flex-grow: 1;
`;
becomes
const OnText = styled(Text)`
//flex-grow: 1;
`;
and gives error
Instead, it should become
const OnText = styled(Text)`
/* flex-grow: 1; */
`;