You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're usually not setting static propTypes properties on your React component when you're also using typescript. This means that you should use a documentation generator to create the type.__docgenInfo property for your components.
You're using a different documentation generator in your webpack.config.js than the one used in the typescript configuration example. Try using the documentation generator from the example, that one works fine for me.
When using TypeScript, React, and styled components the info addon doesn't seem to be able to show propTypes for the components.
To Reproduce
A minimal reproducing example is found here:
https://github.com/mweibel/storybook-typescript-example
You can start storybook with
npm start
.Expected behavior
Available propTypes are being shown.
Screenshots
![screenshot 2018-12-21 at 07 25 35](https://user-images.githubusercontent.com/307427/50328099-055ba680-04f2-11e9-95e4-b2f6f42b4fae.png)
System:
The text was updated successfully, but these errors were encountered: