-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
"StyledComponent" Component - No propTypes defined! #6417
Comments
So this worked as is in 4.x and then just broke in 5.0? Are you using a custom webpack config? |
I checked again and it worked with 4.1.11. @shilman It looked at least like this: That's my custom webpack config:
|
Thanks for confirming @rwieruch. I'm working on a replacement for addon-info, and will keep my eyes out for this. I'll also fix it in addon-info assuming that it's an easy fix. |
Perfect! Thank you @shilman 👍 |
it's fixed already and published? @shilman |
@oknoorap Nope, will comment here when it is. If anybody else wants to take a crack at it, they're more than welcome! |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
Not sure how to keep issues open when the stale bot comes along 😄 |
FYI you might want to check out Storybook Docs which is designed to replace addon-info. Here's the project description: https://medium.com/storybookjs/storybook-docs-sneak-peak-5be78445094a |
Thanks for sharing! Looks super promising and I will try it this week 👍 |
@rwieruch Great! Github issues welcome + we also have a discussion going in the |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
After upgrading from Storybook 4.x.x to 5.0.6., I am not able anymore to see the assigned propTypes for Styled Components in Storybook anymore.
That's what I see in Storybook:
That's what I have coded:
And I would expect to see the children prop types instead.
Note: It works for other components which haven't defined with styled components though.
The text was updated successfully, but these errors were encountered: