Skip to content
Permalink
Browse files
parameters - component level
  • Loading branch information
lalalee committed Sep 15, 2020
1 parent 6c74731 commit ff66ce10c74fb02110f543f0ebfe537654f2f09e
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/stories/Button.stories.js
@@ -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'] } },

0 comments on commit ff66ce1

Please sign in to comment.