Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

Latest commit

 

History

History
31 lines (24 loc) · 628 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 628 Bytes

Textarea for mdl-form

Start

Install package:

  npm install mdl-form mdl-form-textarea react jquery

You need to see mdl-form.

Parameter

  • style -> change style
  • className -> class
  • label -> name of textarea
  • rows -> rows of textarea
  • isNotRequire -> if you use isNotRequire: true, it can be empty.
  • change(function) -> you can do something when teatarea is changed. 1st argument is this component value.

Example

{   
  'id': 'component_id',
  'className': 'class',
  'label': 'Label',
  'style': {'color': 'red'},
  'rows': '10'
}