It'll be important to write a Webpack loader to affix the __docgenInfo to the components with the doc object so this works as expected with Storybook, considering that Storybook does not allow shoe-horning in a custom docgen.
Perhaps worth making a more generalized loader and providing a config for react-tsdoc? Seems like a common(ish) want.
Read more here.
It'll be important to write a Webpack loader to affix the
__docgenInfoto the components with the doc object so this works as expected with Storybook, considering that Storybook does not allow shoe-horning in a custom docgen.Perhaps worth making a more generalized loader and providing a config for
react-tsdoc? Seems like a common(ish) want.Read more here.