content: import React, { Component } from 'react';
  import PropTypes from 'prop-types';
  
  export default class Error extends Component {
      static propTypes = {
          status: PropTypes.string
      }
  
      render() {
          const { status } = this.props;
  
          let content = '';
  
          if (status === '404') {
              content = 'Error 404';
          }
          else if (status === '403') {
              content = 'Error 403. Can\'t acces API, please try again later. Too many requests?';
          }
          else {
              content = 'Something bad has just happend...';
          }
  
          return (
              <div>{content}</div>
          );
      }
  }
  