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

Refactor addWithPropsTable() storybook add-on to HOF #96

Open
zhusee2 opened this issue Oct 16, 2017 · 1 comment
Open

Refactor addWithPropsTable() storybook add-on to HOF #96

zhusee2 opened this issue Oct 16, 2017 · 1 comment

Comments

@zhusee2
Copy link
Contributor

zhusee2 commented Oct 16, 2017

To match new API design for React Storybook. See #95.

@zhusee2
Copy link
Contributor Author

zhusee2 commented Apr 24, 2018

The with-info Storybook add-on already contains built-in props table.
It's easier with this approach:

storiesOf().add('PropTypes', withInfo({ propTables: [ImageEditor], source: false })(() => <div />));

Ref: 4a098b0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant