text: import React, { Component } from 'react'
  import ResultListItem from "../ResultListItem/ResultListItem";
  
  class ResultList extends Component {
  
  
      render() {
          console.log("Props", this.props.bookState)
          return (
              this.props.bookState.map((book) => (
              <ResultListItem
              key={book.id}
              id={book.id}
              title={book.volumeInfo.title}
              link={book.volumeInfo.previewLink}
              authors={book.volumeInfo.authors && book.volumeInfo.authors.length > 1 ? book.volumeInfo.authors.join(", ") : book.volumeInfo.authors}
              image={book.volumeInfo.imageLinks ? book.volumeInfo.imageLinks.thumbnail : "https://previews.123rf.com/images/pavelstasevich/pavelstasevich1811/pavelstasevich181101065/112815953-no-image-available-icon-flat-vector.jpg"}
              description={book.volumeInfo.description}
              saveGoogleBook={this.props.saveGoogleBook}
              />
          ))
          )
  
      }
  }
  
  export default ResultList
  