MCPcopy Create free account
hub / github.com/Lobos/react-ui / constructor

Method constructor

src/Textarea.js:10–19  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

8
9class Textarea extends Component {
10 constructor (props) {
11 super(props);
12 this.state = {
13 value : props.value,
14 rows: props.rows
15 };
16
17 this.handleChange = this.handleChange.bind(this);
18 this.handleTrigger = this.handleTrigger.bind(this);
19 }
20
21 componentDidMount (){
22 let el = this.element;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected