Skip to content
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

storyFn is deprecated and will be removed in Storybook 7.0 #14738

Closed
BiancaArtola opened this issue Apr 27, 2021 · 1 comment
Closed

storyFn is deprecated and will be removed in Storybook 7.0 #14738

BiancaArtola opened this issue Apr 27, 2021 · 1 comment

Comments

@BiancaArtola
Copy link

I am using @storybook/addon-actions @storybook/addon-essentials abd @storybook/react, all of them on version 6.2.9.

Everything is working fine but when I go to the docs tab, the following warning appears:

image

But the weird thing here is that I am not using storyFn on my code. So I really don't know what does this warning mean.
Is this a bug from Storybook? Is there any way to avoid this warning on my project?

Thanks! Let me know if you need more information

@shilman
Copy link
Member

shilman commented Apr 28, 2021

There is a new way of rendering stories in Storybook 6.1, but but addon-docs doesn't fully it support yet. There is currently no way to hide the warning. The issue to fix the problem is here #12726. Closing as a dupe for now!

@shilman shilman closed this as completed Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants