text: import React, { Component, PropTypes } from 'react';
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
  // import classnames from 'classnames';
  import style from './FieldText.css';
  import TextBox from '../../../atoms/TextBox/TextBox';
  import LabelBox from '../../../atoms/LabelBox/LabelBox';
  
  export default class InfoField extends Component {
  
    static propTypes = {
      // infoGraph: PropTypes.object.isRequired,
      // editInfoGraph: PropTypes.func.isRequired,
      // completeInfoGraph: PropTypes.func.isRequired
      title: PropTypes.object.isRequired,
      icon: PropTypes.object.isRequired,
      value: PropTypes.object.isRequired,
    };
  
    constructor(props, context) {
      super(props, context);
      this.state = {
      };
    }
  
    render() {
      const { title, icon, value } = this.props;
  
      return (
        <div className={style.main}>
          <FontAwesomeIcon icon={icon} size="2x" fixedWidth />
          <LabelBox className={style.title} value={title} />
          <TextBox value={value} />
        </div>
      );
    }
  }
  