Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demonstrate invalid syntax when using sub components #61

Conversation

stevenpetryk
Copy link

@stevenpetryk stevenpetryk commented Jan 28, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant