1.0.6 • Published 10 years ago
mdl-form-textarea v1.0.6
Textarea for mdl-form
Start
Install package:
npm install mdl-form mdl-form-textarea react jqueryYou need to see mdl-form.
Parameter
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.1stargument is this component value.
Example
{
'id': 'component_id',
'className': 'class',
'label': 'Label',
'style': {'color': 'red'},
'rows': '10'
}