Skip to content

Commit

Permalink
Merge pull request #5972 from chrisdrackett/patch-3
Browse files Browse the repository at this point in the history
add missing `addDecorator` import
  • Loading branch information
shilman committed Mar 12, 2019
1 parent 26a822a commit cd4e5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/a11y/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import the `withA11y` decorator to check your stories for violations within your

```js
import React from 'react';
import { storiesOf } from '@storybook/react';
import { storiesOf, addDecorator } from '@storybook/react';
import { withA11y } from '@storybook/addon-a11y';

// should only be added once
Expand Down

0 comments on commit cd4e5dd

Please sign in to comment.