-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
addon-info: is withInfo
decorator deprecated?
#9211
Comments
|
@shilman |
@zaki-yama It looks like it's deprecated and better to use |
@shilman |
We don't use it, it just takes up pixels, and it's deprecated anyway (see storybookjs/storybook#9211 (comment)).
This addon adds a tab to the top right of storybook components that (annoyingly) covers up part of the component. It is also deprecated (storybookjs/storybook#9211 (comment)). It does not seem to be useful or actually used by any of us.
Describe the bug
Sorry this is just a question.
addon-info's
withInfo()
decorator is deprecated?To Reproduce
When I write a story like this,
I get the following warning in the browser's console.
What I want to know
I found that Storybook 4 had introduced story parameters.
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#addon-story-parameters
But addon-info wasn't listed here.
So I want to ask you 3 questions:
withInfo()
is also deprecated, and I shouldn't use it any more?addWithInfo()
APIThe text was updated successfully, but these errors were encountered: