From ad8344e7f7be0611fd00bdc650ca5df22ad5d2a7 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Wed, 12 Jun 2024 15:46:24 +0200
Subject: [PATCH] OZG-5832 Add isLoading button story

---
 .../libs/design-system/src/lib/button/button.stories.ts   | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/alfa-client/libs/design-system/src/lib/button/button.stories.ts b/alfa-client/libs/design-system/src/lib/button/button.stories.ts
index bbaeb0c586..5db5e2e20a 100644
--- a/alfa-client/libs/design-system/src/lib/button/button.stories.ts
+++ b/alfa-client/libs/design-system/src/lib/button/button.stories.ts
@@ -36,7 +36,6 @@ export const Default: Story = {
 export const WithIcon: Story = {
   args: {
     text: 'I have an icon',
-    isLoading: false,
     variant: 'outline',
   },
   render: (args) => ({
@@ -46,3 +45,10 @@ export const WithIcon: Story = {
     </ods-button>`,
   }),
 };
+
+export const IsLoading: Story = {
+  args: {
+    text: 'Loading...',
+    isLoading: true,
+  },
+};
-- 
GitLab