Skip to content

Commit

Permalink
docs(readme): add comment about loading decorator before any others
Browse files Browse the repository at this point in the history
  • Loading branch information
paultibbetts authored Apr 10, 2020
1 parent b6af14f commit 3bf4c8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ within `.storybook/preview.js`:
import { addDecorator } from '@storybook/react';
import { withPlayroom } from 'storybook-addon-playroom';

addDecorator(withPlayroom);
addDecorator(withPlayroom); // before any other decorators
```

See [`example`](example) for a minimal working setup.
Expand Down
2 changes: 1 addition & 1 deletion example/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { addDecorator, addParameters } from '@storybook/react';
import { withPlayroom } from 'storybook-addon-playroom';

addDecorator(withPlayroom);
addDecorator(withPlayroom); // before any other decorators

addParameters({
playroom: {
Expand Down

0 comments on commit 3bf4c8f

Please sign in to comment.