mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-17 05:02:23 +08:00
Use withBackgrounds
instead of the deprecated default export.
This commit is contained in:
parent
8bdc44149e
commit
dc79332b1d
@ -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' },
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user