From 4f66d573d193f956973e63c2f7b43e29bee6d04e Mon Sep 17 00:00:00 2001 From: LEEJW1953 Date: Wed, 22 Nov 2023 19:11:05 +0900 Subject: [PATCH] =?UTF-8?q?:sparkles:=20Textarea=20=EC=BB=B4=ED=8F=AC?= =?UTF-8?q?=EB=84=8C=ED=8A=B8=20rows=20=EC=86=8D=EC=84=B1=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D=EC=A0=81=EC=9C=BC=EB=A1=9C=20=EC=82=AC=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/frontend/src/components/commons/Input/Textarea.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/frontend/src/components/commons/Input/Textarea.tsx b/app/frontend/src/components/commons/Input/Textarea.tsx index 6391db20f..2da00d5a1 100644 --- a/app/frontend/src/components/commons/Input/Textarea.tsx +++ b/app/frontend/src/components/commons/Input/Textarea.tsx @@ -10,7 +10,7 @@ type TextareaProps = { disabled?: boolean; required?: boolean; fullWidth?: boolean; - rows: number; + rows?: number; }; export function Textarea({ @@ -21,7 +21,7 @@ export function Textarea({ maxLength, required = false, fullWidth = false, - rows, + rows = 2, }: TextareaProps) { const [textCount, setTextCount] = useState(0); const textRef = useRef(null);