From 030176814e26149a33526c014744f154a95981d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Wed, 10 Feb 2021 17:37:37 +0900 Subject: [PATCH] feat: using a tag for tab control --- components/LongButton.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/LongButton.tsx b/components/LongButton.tsx index 7a8a230..d1f6d7b 100644 --- a/components/LongButton.tsx +++ b/components/LongButton.tsx @@ -10,18 +10,18 @@ const LongButton = ({ children, newTab=false, href, onClick, center=false }:Long else return -
+ {children} -
+ } - if(onClick) return
+ if(onClick) return {children} -
+ - return
+ return {children} -
+