From f3a55c5ccd73c887b59f1a10cec5cd7f4a1c2c47 Mon Sep 17 00:00:00 2001 From: nakyong82 Date: Tue, 22 Oct 2024 03:08:23 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8feat:=20Tag=20=EC=BB=B4=ED=8F=AC?= =?UTF-8?q?=EB=84=8C=ED=8A=B8=20borderWidth=20=EC=98=B5=EC=85=98=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=ED=95=98=EA=B8=B0=20#15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Common/Tag.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Common/Tag.tsx b/src/components/Common/Tag.tsx index 8ecea316..03eb425a 100644 --- a/src/components/Common/Tag.tsx +++ b/src/components/Common/Tag.tsx @@ -8,6 +8,7 @@ type TagProps = { onDelete?: (value: string) => void; // 삭제 버튼 클릭 시 호출될 함수 hasCheckIcon: boolean; // 왼쪽에 체크 아이콘 표시 여부 borderColor?: string; + borderWidth?: string; backgroundColor: string; color: string; fontStyle: string; // typography type @@ -20,6 +21,7 @@ const Tag = ({ onDelete, hasCheckIcon, borderColor, + borderWidth = '0.5px', backgroundColor, color, fontStyle, @@ -33,7 +35,7 @@ const Tag = ({ color: color, borderColor: borderColor, borderStyle: borderColor ? 'solid' : 'none', - borderWidth: '0.5px', + borderWidth: borderWidth, }} > {hasCheckIcon && }