From 3837475bc356d22b7fff0694900ead7f7e7dfb01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=86=E1=85=B5=E1=86=AB=E1=84=92?= =?UTF-8?q?=E1=85=B4?= Date: Fri, 19 Jul 2024 01:09:13 +0900 Subject: [PATCH] fix: #11 typography children type --- src/component/common/typography/Typography.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/common/typography/Typography.tsx b/src/component/common/typography/Typography.tsx index afdfb705..a2479d0f 100644 --- a/src/component/common/typography/Typography.tsx +++ b/src/component/common/typography/Typography.tsx @@ -8,7 +8,7 @@ type TypographyProps = { as?: Extract; variant?: keyof typeof DESIGN_SYSTEM_TEXT; color?: keyof typeof DESIGN_SYSTEM_COLOR; - children: React.ReactElement | string; + children: React.ReactNode; }; // FIXME: 디자인 토큰에 따른 default 값 수정