Skip to content

Commit

Permalink
Merge pull request #31 from evenchange4/patch-1
Browse files Browse the repository at this point in the history
docs(README): add reserved words note
  • Loading branch information
ndelangen authored Apr 6, 2017
2 parents fda42d2 + d39a201 commit 5751cfa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ The Action Logger addon can be used to display data received by event handlers.

You can use this addon without installing it manually.

Import the `action` function and use it to create actions handlers. When creating action handlers, provide a name to make it easier to identify.
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)*
```js
import { storiesOf, action } from '@kadira/storybook'
Expand Down

0 comments on commit 5751cfa

Please sign in to comment.