From 1c221b8908862553000d5885c686f066d3d1464c Mon Sep 17 00:00:00 2001 From: Arthur Green Date: Sun, 24 Mar 2024 15:30:31 +0530 Subject: [PATCH] docs: change types in stories --- src/components/button/Button.stories.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/button/Button.stories.ts b/src/components/button/Button.stories.ts index a78eb39..8403b5a 100644 --- a/src/components/button/Button.stories.ts +++ b/src/components/button/Button.stories.ts @@ -20,7 +20,7 @@ type Story = StoryObj; // More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args export const Primary: Story = { args: { - primary: true, + isPrimary: true, label: 'Button', size: 'lg', }, @@ -28,7 +28,7 @@ export const Primary: Story = { export const Secondary: Story = { args: { - primary: false, + isPrimary: false, label: 'Button', size: 'lg', },