Open haldunanil opened 5 years ago
This is likely an issue with the code generation in this package. I won't be able to work on this issue for a couple weeks likely but for the time being you should be able to use the following setting:
skipPropsWithName
You can exclude that prop for now.
I'm using the following setup:
When I attempt to render a component in Storybook, I get a SyntaxError that points me to this section, specifically the line that begins with "description":
where the description line appears to be cut off incorrectly. My setup looks like this:
Replacing the StyledFlex component inside Flex with something like <div {...props} data-ut="flex /> solves the issue, but is obviously not what I want to do. I'm not even sure this problem is specifically caused by the @types/styled-components package, but this seemed like a good place to start.