strothj / react-docgen-typescript-loader

Webpack loader to generate docgen information from Typescript React components.
Other
360 stars 47 forks source link

Support `componentNameResolver` option from react-docgen-typescript #71

Closed folz closed 4 years ago

folz commented 4 years ago

react-docgen-typescript accepts a componentNameResolver property to help resolve the component's name in edge cases, but this loader doesn't recognize that property as valid.

See https://github.com/styleguidist/react-docgen-typescript and cmd+f for componentNameResolver.

If you'll accept a PR to add support for this property, I'm happy to create one. Thanks!

strothj commented 4 years ago

Yes, in general any missing functionality from the underlying library I'd like to support. I'd be happy to accept a PR for this.

folz commented 4 years ago

Great, I'll have that over soon.