Use withBackgrounds instead of the deprecated default export.

This commit is contained in:
igor-dv 2018-06-07 17:01:34 +03:00
parent 8bdc44149e
commit dc79332b1d

View File

@ -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' },
])