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
Hi I'm trying to use the withDocs and withReadme But for some reasons it's given be this error.
I'm using the following version of "storybook-readme": "^5.0.8",
Here is my sample code
storiesOf('Avatar', module) .addDecorator(withKnobs) .addDecorator(withDocs(AvatarDocs)) .addDecorator(withReadme(AvatarReadme)) .add('Avatar Usage',() => ( <AvatarStory img={text('img', 'https://greatindiantours.com/wp-content/themes/travel-log/images/dummy-user.jpg')} height={number('height', 60)} width={number('width', 60)} circle={boolean('circle', false)} altText={text('altText', 'User Icon')} /> ))
As soon as I add .addDecorator(withDocs(AvatarDocs)) and .addDecorator(withReadme(AvatarReadme)) It gives me above error. Am I missing something?
.addDecorator(withDocs(AvatarDocs))
.addDecorator(withReadme(AvatarReadme))
The text was updated successfully, but these errors were encountered:
This is happening for me too. Seems related to upgrading storybook from 5 to 6 for me
Sorry, something went wrong.
Solution: #221
No branches or pull requests
Hi I'm trying to use the withDocs and withReadme But for some reasons it's given be this error.
I'm using the following version of "storybook-readme": "^5.0.8",
Here is my sample code
As soon as I add
.addDecorator(withDocs(AvatarDocs))
and.addDecorator(withReadme(AvatarReadme))
It gives me above error.Am I missing something?
The text was updated successfully, but these errors were encountered: