Textarea

Textarea는 사용자가 여러 줄의 텍스트를 입력할 수 있도록 하는 텍스트 입력 필드를 제공합니다.

Property


Size

Textarea의 크기를 설정합니다.

Auto Resize

텍스트 내용에 따라 높이가 자동 조절됩니다.

States

Textarea의 다양한 상태를 보여줍니다.

Examples


maxLength

Textarea에 maxLength 속성을 추가하여 입력 가능한 최대 문자 수를 제한하는 기능을 제공합니다.

Props Table


Textarea

Multi-line text field for longer input such as comments or descriptions. Set autoResize to grow its height with the content. Renders a <textarea> element.

PropDefaultType
autoResize?
false
boolean
invalid?
false
boolean
size?
md
smmdlgxl
defaultValue?
-
string
onValueChange?
-
function
value?
-
string
className?
-
stringfunction
style?
-
React.CSSPropertiesfunction
render?
-
ReactElementfunction

On this page