renderData = () => {
      switch (showAs) {
        case 'list': return this._renderList(data);
        case 'grid': return this._renderGrid(data);
        default: return null;
      }
    }
We define the structure of our props,
which will usually be done during runtime
via React.PropTypes