Skip to content

Commit

Permalink
parameters - story level
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalee committed Sep 15, 2020
1 parent 0cb6f72 commit 1b816d3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/stories/Button.stories.ts
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 1b816d3

Please sign in to comment.