This PR is meant to demonstrate/add a test case for the invalid output described in #57. It stems from a bug in react-docgen-typescript where components that are assigned to properties of other components are given a name of default.Name.
The snapshot that gets generated by the test suite for this (valid) file contains a syntax error.
This PR is meant to demonstrate/add a test case for the invalid output described in #57. It stems from a bug in
react-docgen-typescript
where components that are assigned to properties of other components are given a name ofdefault.Name
.The snapshot that gets generated by the test suite for this (valid) file contains a syntax error.