From da109d170069a750b75c68b8970585ca82933f8a Mon Sep 17 00:00:00 2001 From: keitakn Date: Sun, 18 Aug 2024 18:27:02 +0900 Subject: [PATCH] =?UTF-8?q?:art:=20#303=20Figma=E3=81=AE=E3=83=87=E3=82=B6?= =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=81=AB=E5=90=88=E3=82=8F=E3=81=9B=E3=81=A6?= =?UTF-8?q?=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88=E3=81=AE=E8=89=B2=E3=82=92?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/_components/IconButton.stories.tsx | 2 +- src/app/_components/IconButton.tsx | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/_components/IconButton.stories.tsx b/src/app/_components/IconButton.stories.tsx index a739c9a..77ba54e 100644 --- a/src/app/_components/IconButton.stories.tsx +++ b/src/app/_components/IconButton.stories.tsx @@ -12,7 +12,7 @@ type Story = StoryObj; export const Default: Story = { args: { type: 'button', - displayText: 'Button', + displayText: 'ログイン', }, }; diff --git a/src/app/_components/IconButton.tsx b/src/app/_components/IconButton.tsx index 7fe176f..bf53dfc 100644 --- a/src/app/_components/IconButton.tsx +++ b/src/app/_components/IconButton.tsx @@ -27,8 +27,10 @@ export const IconButton = ({ className={`${baseClasses} ${stateClasses} ${focusClasses}`} isDisabled={isPending} > - {showGithubIcon != null && } - {displayText} + {showGithubIcon != null && ( + + )} + {displayText} ); };