mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
fix docs
This commit is contained in:
parent
1c70eae5cc
commit
b03357b23c
@ -2,7 +2,7 @@
|
||||
|
||||
This [Storybook](https://getstorybook.io) addon allows you to add events for your stories.
|
||||
|
||||

|
||||

|
||||
|
||||
### Getting Started
|
||||
**note: addons require @kadira/storybook 2.x or greater*
|
||||
@ -26,7 +26,7 @@ Then write your stories like this:
|
||||
import React from 'react';
|
||||
import EventEmiter from 'event-emiter';
|
||||
import { storiesOf } from '@kadira/storybook';
|
||||
import { WithEvents } from '@z4o4z/storybook-addon-events';
|
||||
import WithEvents from '@z4o4z/storybook-addon-events';
|
||||
import MyContainerWithEmiter from './MyContainerWithEmiter';
|
||||
|
||||
const emiter = new EventEmmiter();
|
||||
|
Loading…
x
Reference in New Issue
Block a user