From 93c250b62fef994abd0ce30353bddd38dfcb5b2c Mon Sep 17 00:00:00 2001 From: wonderlandpark Date: Sun, 28 Mar 2021 13:00:02 +0900 Subject: [PATCH] feat: added button disabled --- components/Button.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/components/Button.tsx b/components/Button.tsx index a8bbf13..ec00066 100644 --- a/components/Button.tsx +++ b/components/Button.tsx @@ -6,10 +6,11 @@ const Button = ({ className, children, href, + disabled=false, onClick, }: ButtonProps): JSX.Element => { return href ? ( - + ) : onClick ? ( ) : (