-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add react docgen info into React classes with the react-docgen babel plugin #557
Conversation
@@ -0,0 +1,3 @@ | |||
/* globals window */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this filename as globals.js
Is it possible to disable this? It's causing some of my stuff to break. |
Could I know the problem you got? More info on the error? |
It was a reference error, |
@jeffijoe can I have a sample version of that class? We'll work on a way to turn this off or something similar. Could you create an new issue with info? |
Generates propType docs for all react components used in stories at runtime using babel-plugin-react-docgen.
It also collects all the react propType docs to a global object named
STORYBOOK_REACT_CLASSES
.