0.0.3 • Published 6 years ago
theuves-ta v0.0.3
ta
Automatically resize a
<textarea />
.
Install it with:
npm install theuves-ta
Example
"use strict"
import React from "react";
import Textarea from "theuves-ta";
class MyTextarea extends React.Component {
handleChange(event) {
console.log(event.target.value);
}
render() {
return <Textarea onChange={this.handleChange} />
}
}