theuves-ta
v0.0.3
Published
> Automatically resize a `<textarea />`.
Downloads
12
Readme
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} />
}
}