text: import React from "react";
  import Textarea from "react-materialize/lib/Textarea";
  
  class NeoTextArea extends React.Component {
      constructor(props) {
          super(props);
          this.state = {
              value: this.props.defaultValue,
          }
  
      }
  
      render() {
          let disclaimer = 'Limit a query to 1000 result rows for best performance. Cypher parameter keys & values must be in quotes.';
          return <Textarea
              onChange={e => {
                  let newState = {value: e.target.value};
                  this.setState(newState)
                  this.props.onChange({'label': this.props.name + "Changed", 'value': e.target.value})
              }}
              value={this.state.value}
              id="Textarea-12"
              l={12}
              m={12}
              s={12}
              placeholder={(this.props.placeholder) ? this.props.placeholder : "Enter Cypher here... \n"}
              xl={12}><p style={{fontSize: 12}}>{disclaimer}</p></Textarea>;
      }
  }
  
  export default (NeoTextArea);