From e434cec479cbc6cf24d305d6668bed997adbddfa Mon Sep 17 00:00:00 2001 From: Hye min Pyo <102423086+Pyotato@users.noreply.github.com> Date: Wed, 14 Aug 2024 21:38:32 +0900 Subject: [PATCH] fix: pass dim prop to Text --- .../src/components/typography/text/_text.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/design-system/src/components/typography/text/_text.tsx b/packages/design-system/src/components/typography/text/_text.tsx index 9525fec3..5b0f6157 100644 --- a/packages/design-system/src/components/typography/text/_text.tsx +++ b/packages/design-system/src/components/typography/text/_text.tsx @@ -23,10 +23,14 @@ export interface TextProps { className?: string; } -function Text({ children, className, ...props }: TextProps) { +function Text({ children, className, dim, ...props }: TextProps) { const splitText = `${children}`.split("\n").map((sentence, index) => { return ( - + {sentence} );