Skip to content

Commit

Permalink
Merge pull request #103 from frankieali/patch-1
Browse files Browse the repository at this point in the history
Update addon-background initialization
  • Loading branch information
usulpro committed Jul 9, 2019
2 parents 0cb6412 + 3bb16f0 commit 9bdbe59
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .storybook/stories.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';

import { storiesOf, addDecorator } from '@storybook/react';
import backgrounds from '@storybook/addon-backgrounds';
import { storiesOf } from '@storybook/react';

import Button from '@material-ui/core/Button';

Expand All @@ -18,13 +17,13 @@ const buttonStyle = {
};

storiesOf('Material Custom theme', module)
.addDecorator(
backgrounds([
.addParameters({
backgrounds: [
{ name: 'init', value: '#FFFFFF' },
{ name: 'twitter', value: '#00aced' },
{ name: 'facebook', value: '#3b5998' }
])
)
]
})
.addDecorator(muiTheme([theme1, theme2, theme3, theme4, theme5]))
.add('Raised buttons', () => (
<div>
Expand Down

0 comments on commit 9bdbe59

Please sign in to comment.