Install package:
npm install mdl-form mdl-form-textarea react jquery
You need to see mdl-form.
style
-> change styleclassName
-> classlabel
-> name of textarearows
-> rows of textareaisNotRequire
-> if you useisNotRequire: true
, it can be empty.change
(function) -> you can do something when teatarea is changed.1st
argument is this component value.
{
'id': 'component_id',
'className': 'class',
'label': 'Label',
'style': {'color': 'red'},
'rows': '10'
}