Skip to content
Permalink
Browse files
parameters - component level
  • Loading branch information
lalalee committed Sep 15, 2020
1 parent 1b816d3 commit c5aabb5954a6d8a72cb02609c5bfc8885cd735f6
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/stories/Button.stories.ts
@@ -5,6 +5,14 @@ import Button from './button.component';
export default {
title: 'Example/Button',
component: Button,
parameters: {
backgrounds: {
values: [
{ name: 'component-red', value: 'DarkRed' },
{ name: 'component-green', value: 'DarkGreen' },
],
},
}
// argTypes: {
// backgroundColor: { control: 'color' },
// },

0 comments on commit c5aabb5

Please sign in to comment.