Merge branch 'master' into release/3.3

This commit is contained in:
Filipp Riabchun 2017-09-08 04:13:03 +03:00 committed by GitHub
commit f396a49497
2 changed files with 3 additions and 4 deletions

View File

@ -143,7 +143,7 @@ setAddon(infoAddon);
### React Docgen Integration
React Docgen is included as part of the @storybook/react package through the use of `babel-plugin-react-docgen` during compile time.
React Docgen is included as part of the @storybook/react package through the use of `babel-plugin-react-docgen` during babel compile time.
When rendering a story with a React component commented in this supported format, the Addon Info prop table will display the prop's comment in the description column.
```js
@ -175,8 +175,7 @@ DocgenButton.propTypes = {
export default DocgenButton;
```
Storybook Info Addon should now render all the correct types for your component.
Comments above flow types are also supported. Storybook Info Addon should now render all the correct types for your component if the PropTypes are in the same file as the React component.
## The FAQ

View File

@ -36,7 +36,7 @@ The Storybook webapp UI can be customised with this addon. It can be used to cha
### [Storyshots](https://github.com/storybooks/storybook/tree/master/addons/storyshots)
Storyshots is a way to automaticly jest-snapshot all your stories. [More info here](/testing/structural-testing/).
Storyshots is a way to automatically jest-snapshot all your stories. [More info here](/testing/structural-testing/).
## Community Addons