mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 15:01:23 +08:00
Update README.md
This commit is contained in:
parent
fceded04b9
commit
c5bc6d2344
@ -19,7 +19,7 @@ This addon works with Storybook for:
|
|||||||
|
|
||||||
Install:
|
Install:
|
||||||
```sh
|
```sh
|
||||||
npm i @storybook/addon-actions
|
npm i -D @storybook/addon-actions
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user