Skip to content

Commit

Permalink
parameters - component level
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalee committed Sep 15, 2020
1 parent 6c74731 commit ff66ce1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/stories/Button.stories.js
Expand Up @@ -3,6 +3,14 @@ import MyButton from './Button.vue';
export default {
title: 'Example/Button',
component: MyButton,
parameters: {
backgrounds: {
values: [
{ name: 'component-red', value: 'DarkRed' },
{ name: 'component-green', value: 'DarkGreen' },
],
},
}
// argTypes: {
// backgroundColor: { control: 'color' },
// size: { control: { type: 'select', options: ['small', 'medium', 'large'] } },
Expand Down

0 comments on commit ff66ce1

Please sign in to comment.