TextArea

ユーザのテキスト入力を扱うコンポーネント

BASIC

<TextArea label="TextArea" />

showLabel, subLabel, requiredText, assistiveText

requiredText
subLabel

assistiveText

showCount, maxLength

0
0/140

invalid, assistiveText

assistiveText

disabled

autoHeight

Props

<textarea>propsを継承しています。

namedescriptiontypedefaultrequired
labelラベルstringYES
assistiveTextエラーのテキストstringNO
autoHeight高さを自動で変えるbooleanfalseNO
invalid入力が不正かbooleanfalseNO
requiredText必須を示すのテキストstringNO
rows表示する行数、multilineのみ有効numberNO
showCount入力文字数の表示booleanfalseNO
showLabelラベルの表示booleanfalseNO
subLabel右側に表示されるラベルstringNO