import './TextArea.css'; import React from 'react'; import PropTypes from 'prop-types'; class TextArea extends React.Component { constructor(props) { super(props); this.state = { value: this.props.value }; } handleChange = event => { this.setState({ value: event.target.value }); if (this.props.onChange) this.props.onChange(); }; render() { return (