content: import React from 'react';
  import Shelf from './shelf.react';
  
  class Shelves extends React.Component {
    constructor(props) {
      super(props);
      this.items = props.items;
      this.addToOrder = props.addToOrder;
    }
  
    render() {
      let shelves = this.items.map((shelf, index) => {
        return (<Shelf key={index} product={shelf} addToOrder={this.addToOrder} />);
      });
  
      return (
        <div className="shelves">
          <div className="row">
            {shelves}
          </div>
        </div>
      );
    }
  }
  
  export default Shelves;
  