We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When exporting a component like the following, the docs from comments are embedded in the "docs" page:
export default MyComponent
But it's not the case if it's exported like this:
export default React.memo(MyComponent); // or any other HOC: // export default pipe(withErrorBoundary, withMemo)(MyComponent)
I've tested it in the new story style:
import MyComponent from '..'; export default { title: 'MyComponent', component: MyComponent } export const MyStory = ...
Expected behavior The docs should be embedded in the docs page:
Current Behavior The docs and props are not embedded, only the stories are visible.
The text was updated successfully, but these errors were encountered:
closing as dupe to #8361
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When exporting a component like the following, the docs from comments are embedded in the "docs" page:
But it's not the case if it's exported like this:
I've tested it in the new story style:
Expected behavior
The docs should be embedded in the docs page:
Current Behavior
The docs and props are not embedded, only the stories are visible.
The text was updated successfully, but these errors were encountered: