Textarea
複数行のメモや説明を入力します。
使い方
想定される長さに合わせて rows を指定します。
アクセシビリティ
ラベルを表示し、補足やエラーは aria-describedby で関連付けます。
| プロパティ | 型 | 既定値 |
|---|---|---|
| rows | number | 2 |
<label>Release notes
<Textarea rows={3} placeholder="Describe what changed" />
</label>複数行のメモや説明を入力します。
想定される長さに合わせて rows を指定します。
ラベルを表示し、補足やエラーは aria-describedby で関連付けます。
| プロパティ | 型 | 既定値 |
|---|---|---|
| rows | number | 2 |
<label>Release notes
<Textarea rows={3} placeholder="Describe what changed" />
</label>