From 34d629892025b2e30df1d9b3ad067572e1f497b2 Mon Sep 17 00:00:00 2001 From: jennyjoo <100cllr@gmail.com> Date: Tue, 2 Jul 2024 11:29:56 +0900 Subject: [PATCH] =?UTF-8?q?style:=20BtnGray=EC=97=90=20disabled=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BtnGray.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/BtnGray.tsx b/src/components/BtnGray.tsx index fdaca61..4ef8ba1 100644 --- a/src/components/BtnGray.tsx +++ b/src/components/BtnGray.tsx @@ -4,9 +4,10 @@ type Prop = { text: string; action: () => void; className?: string; + disabled?: boolean; }; -const BtnGray = ({ text, action, className }: Prop) => { +const BtnGray = ({ text, action, className = '', disabled = false }: Prop) => { return ( <>