From 4fb12b4de5b3a94e80b20477fa880b4cc202af08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Sat, 30 Jan 2021 13:59:17 +0900 Subject: [PATCH] feat: accepting string for long button --- components/LongButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/LongButton.tsx b/components/LongButton.tsx index dbabc24..7a8a230 100644 --- a/components/LongButton.tsx +++ b/components/LongButton.tsx @@ -32,7 +32,7 @@ export default LongButton interface LongButtonProps { newTab?: boolean onClick?: (event: React.KeyboardEvent|React.MouseEvent) => void - children: JSX.Element | JSX.Element[] + children: string | JSX.Element | JSX.Element[] href?: string center?: boolean } \ No newline at end of file