0.0.3 • Published 6 years ago

theuves-ta v0.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

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} />
  }
}