text: import React from 'react';
  import PropTypes from 'prop-types';
  import control from '../../hocs/control';
  
  const Textarea = ({ error, isChanged, isUsed, ...props }) => (
    <div>
      <textarea {...props} />
      {isChanged && isUsed && error}
    </div>
  );
  
  Textarea.propTypes = {
    error: PropTypes.oneOfType([PropTypes.node, PropTypes.string])
  };
  
  export default control(Textarea);
  