-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
addon-info: Props while using JSS injectSheet #3195
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue details
I have a styled component 'TaskDetail' in which I use React's CSSinJS and basically export it wrapped in a stylesheet:
1- When I try to use the addon-info plugin without the style sheet, it works as expected:
2- When I try to inject the style sheet before exposing my component, I lose all info since the component being exporting is actually the JSS wrapper.
Steps to reproduce
Export a styled component.
Please specify which version of Storybook and optionally any affected addons that you're running
The text was updated successfully, but these errors were encountered: