content: import React, { Component } from 'react';
  import { Table } from 'react-bootstrap';
  import { componentLogger } from '../utils/logger';
  
  const componentName = 'ServerReleaseVersionTable';
  
  class ServerReleaseVersionTable extends Component {
      componentWillMount() {
          componentLogger(componentName, 'componentcomponentWillMount');
      }
  
      componentDidMount() {
          componentLogger(componentName, 'componentDidMount');
      }
  
      componentWillUnmount() {
          componentLogger(componentName, 'componentWillUnmount');
      }
  
      render() {
          let versionData = this.props.releaseVersions,
              counter = 0;
  
          return (
              <Table striped bordered condensed hover>
                  <thead>
                  <tr>
                      <th>#</th>
                      <th>Entity</th>
                      <th>Version</th>
                  </tr>
                  </thead>
                  <tbody>
                  {Object.keys(versionData).map((entity) => {
                      let keyValue = ++counter;
  
                      return (
                          <tr key={keyValue}>
                              <td>{keyValue}</td>
                              <td>{entity}</td>
                              <td>{versionData[entity]}</td>
                          </tr>
                      )
                  })}
                  </tbody>
              </Table>
          )
      }
  }
  
  export default ServerReleaseVersionTable;
  