Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
parameters - story level
  • Loading branch information
lalalee committed Sep 15, 2020
1 parent 27c4a3f commit 6c74731
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/stories/Button.stories.js
Expand Up @@ -20,6 +20,14 @@ Primary.args = {
primary: true,
label: 'Button',
};
Primary.parameters = {
backgrounds: {
values: [
{ name: 'story-red', value: 'pink' },
{ name: 'story-green', value: 'olive' },
],
},
};

export const Secondary = Template.bind({});
Secondary.args = {
Expand Down

0 comments on commit 6c74731

Please sign in to comment.