docusaurus-plugin-react-docgen-typescript
docusaurus-plugin-react-docgen-typescript copied to clipboard
fix: ensure duplicate components are written to unique files
In our project we have components that are wrapped which means docgen detects components with the same name. This patch makes sure that each component is written to a unique file. Currently if two components have the same name then stringified props get concatenated together resulting in invalid json.
👋 Hey there, thanks for the contrib! The changes are a bit difficult to follow due to formatting changes. I'll pick the functional bits and merge them in. I'll LYK when it's published
Urgh sorry, the pre-commit hook must have used a newer version of prettier, i can put the style changes back if you like? The functional changes are 109 - 131
Fixed in #23