From 09b166f7268bbee1c04d3074dc0e4a7922a998c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=97=90=EC=9D=B4=EB=93=A0?= <62369936+gyeongza@users.noreply.github.com> Date: Wed, 20 Sep 2023 19:09:11 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=ED=8A=BC=20props=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=20(#577)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: 버튼 props 수정 --- frontend/src/components/common/Button/Button.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/common/Button/Button.tsx b/frontend/src/components/common/Button/Button.tsx index b1f45a2c8..1cb8c464b 100644 --- a/frontend/src/components/common/Button/Button.tsx +++ b/frontend/src/components/common/Button/Button.tsx @@ -21,7 +21,8 @@ const Button = ({ ariaLabel, dataType, disabled, - ...buttonProps + width, + height, }: Props) => { return ( @@ -34,7 +35,8 @@ const Button = ({ $fontWeight={fontWeight} onClick={onClick} aria-label={ariaLabel} - {...buttonProps} + $width={width} + $height={height} > {children}