From 9279b44523ba03f34befee22ef1bbd27961f86fb Mon Sep 17 00:00:00 2001 From: Tony Cabaye Date: Mon, 12 Feb 2024 15:24:01 +0100 Subject: [PATCH] fix: button story (#142) --- .../src/2-mantine/Buttons/Buttons.stories.tsx | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/packages/react-front-kit-shared/src/2-mantine/Buttons/Buttons.stories.tsx b/packages/react-front-kit-shared/src/2-mantine/Buttons/Buttons.stories.tsx index f7244764..ff432194 100644 --- a/packages/react-front-kit-shared/src/2-mantine/Buttons/Buttons.stories.tsx +++ b/packages/react-front-kit-shared/src/2-mantine/Buttons/Buttons.stories.tsx @@ -9,23 +9,23 @@ const meta = { argTypes: { color: { control: 'select', - options: [ - 'primary', - 'dark', - 'gray', - 'red', - 'pink', - 'grape', - 'violet', - 'indigo', - 'blue', - 'cyan', - 'teal', - 'green', - 'lime', - 'yellow', - 'orange', - ], + options: { + blue: 'blue', + cyan: 'cyan', + dark: 'dark', + grape: 'grape', + gray: 'gray', + green: 'green', + indigo: 'indigo', + lime: 'lime', + orange: 'orange', + pink: 'pink', + primary: '', + red: 'red', + teal: 'teal', + violet: 'violet', + yellow: 'yellow', + }, }, disabled: { control: 'boolean', @@ -49,7 +49,7 @@ type IStory = StoryObj; const { Activity } = iconsElements; export const Buttons: IStory = { args: { - color: 'primary', + color: '', disabled: false, }, render: (props) => (