mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-02 05:03:44 +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:
|
||||
```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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user