Skip to content

Commit

Permalink
Use withBackgrounds instead of the deprecated default export.
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-dv committed Jun 7, 2018
1 parent 8bdc441 commit dc79332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/polymer-cli/src/stories/addon-backgrounds.stories.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { storiesOf } from '@storybook/polymer';
import backgrounds from '@storybook/addon-backgrounds';
import { withBackgrounds } from '@storybook/addon-backgrounds';

storiesOf('Addon|Backgrounds', module)
.addDecorator(
backgrounds([
withBackgrounds([
{ name: 'twitter', value: '#00aced', default: true },
{ name: 'facebook', value: '#3b5998' },
])
Expand Down

0 comments on commit dc79332

Please sign in to comment.