From 0c8de53d5b3fd75c2732f3f7f21454d11253231d Mon Sep 17 00:00:00 2001 From: olyn-octo Date: Wed, 26 Jun 2024 16:59:09 +0200 Subject: [PATCH] MR review correction --- src/stories/Button.stories.ts | 4 +--- src/stories/Button.vue | 6 +++--- src/stories/button.css | 12 +++++------- src/tokens/colors.css | 5 +++-- 4 files changed, 12 insertions(+), 15 deletions(-) diff --git a/src/stories/Button.stories.ts b/src/stories/Button.stories.ts index f65f282..f4a8a82 100644 --- a/src/stories/Button.stories.ts +++ b/src/stories/Button.stories.ts @@ -10,11 +10,9 @@ const meta = { tags: ['autodocs'], argTypes: { size: { control: 'select', options: ['small', 'medium', 'large'] }, - type: { options: ['primary', 'seondary', 'destructive'] }, - backgroundColor: { control: 'color' }, + type: { options: ['primary', 'secondary', 'destructive'] }, }, args: { - primary: false, // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args onClick: fn(), }, diff --git a/src/stories/Button.vue b/src/stories/Button.vue index e635883..c4830c1 100644 --- a/src/stories/Button.vue +++ b/src/stories/Button.vue @@ -2,7 +2,7 @@ -