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

Addon-docs: Generalize Description doc block #8586

Closed
shilman opened this issue Oct 27, 2019 · 2 comments
Closed

Addon-docs: Generalize Description doc block #8586

shilman opened this issue Oct 27, 2019 · 2 comments

Comments

@shilman
Copy link
Member

shilman commented Oct 27, 2019

Storybook's Description block should be framework-independent, similar to how props tables were generalized in #8123:

<Description of={MyComponent} />

Framework configuration:

import { addParameters } from '@storybook/client-api';

addParameters({
  docs: {
    extractDescription: (comp) => ...
  }
});
@shilman shilman added this to the 5.3.0 milestone Oct 27, 2019
@shilman shilman self-assigned this Oct 27, 2019
@shilman shilman changed the title Addon-docs: Generalize DocsPage description Addon-docs: Generalize Description doc block Oct 27, 2019
@shilman
Copy link
Member Author

shilman commented Oct 27, 2019

Olé!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.0-alpha.32 containing PR #8590 that references this issue. Upgrade today to try it out!

You can find this prerelease on the @next NPM tag.

Closing this issue. Please re-open if you think there's still more to do.

@shilman
Copy link
Member Author

shilman commented Nov 5, 2019

Hurrah!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.0-alpha.39 containing PR #8718 that references this issue. Upgrade today to try it out!

You can find this prerelease on the @next NPM tag.

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

1 participant