-
Notifications
You must be signed in to change notification settings - Fork 71
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
DocBlockBase error #109
Comments
It seems this causes the error but I have no idea why that import would be undefined... @YasKur |
@pocka components storybook
error with - "storybook-addon-designs": "6.0.0", but "storybook-addon-designs": "6.0.0-alpha.3" work good :) |
#109 The export, components.resetwrapper is unstable between 6.0 versions and that causes a runtime error. Because it seems almost impossible to import the component among Storybook 6.x, I simply wrote an imitation component to eliminate the problem at all.
Affected design types
figma
Describe the bug
Error 1
Error 2:
The above error occurred in the component:
in DocBlockBase (created by Figma)
in Figma (at figma-doc-page/index.jsx:13)
in page
in div (created by Context.Consumer)
in Styled(div) (created by DocsContainer)
in div (created by Context.Consumer)
in Styled(div) (created by DocsContainer)
in MDXProvider (created by DocsContainer)
in ThemeProvider (created by DocsContainer)
in SourceContainer (created by DocsContainer)
in DocsContainer
To Reproduce
In version 6.0.0-alpha.3 all work correct, but in current version 6.0.0 u can see this errors.
Versions
└─┬ @storybook/addon-docs@6.0.27
└─┬ @storybook/core@6.0.27
└── @storybook/ui@6.0.27
"storybook-addon-designs": "6.0.0";
The text was updated successfully, but these errors were encountered: