import React, { Component } from 'react'; import PropTypes from 'prop-types'; class ExpandingTextarea extends Component { componentDidMount () { this.adjustTextarea({}); } render () { const { ...rest } = this.props; return (