Skip to content

Commit

Permalink
Merge branch 'master' into 1266-fix-components-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman authored Jun 21, 2017
2 parents 5fcd85b + 2c54e27 commit d04f223
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- [See multiple (or all) stories in 1 preview.](#see-multiple-or-all-stories-in-1-preview)
- [Deeper level hierarchy](#deeper-level-hierarchy)
- [Supporting other frameworks and libraries](#supporting-other-frameworks-and-libraries)
- [Vue](#vue)
- [Vue](#vue) (*in development*)
- [Angular](#angular)
- [Webcomponents](#webcomponents)
- [Polymer](#polymer)
Expand Down
6 changes: 6 additions & 0 deletions addons/actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ Install:
npm i -D @storybook/addon-actions
```

Then, add following content to `.storybook/addons.js`

```
import '@storybook/addon-actions/register';
```

Import the `action` function and use it to create actions handlers. When creating action handlers, provide a **name** to make it easier to identify.

> _Note: Make sure NOT to use reserved words as function names. [issues#29](https://github.com/storybooks/storybook-addon-actions/issues/29#issuecomment-288274794)_
Expand Down

0 comments on commit d04f223

Please sign in to comment.