thumbnailImage(obj){
          if(obj){
              if(obj.image){
                 return <Thumbnail source={obj.image.src}  alt={obj.body_html} />;
              }
              else{
                  return <div></div>;
              }
          }
      }
/**
       * To show the thumbnail of the product in the resourcelist.
       * @param {*} obj 
       */
To show the thumbnail of the product in the resourcelist.
@param {*} obj
To show the thumbnail of the product in the resourcelist . @param { * } obj
thumbnailImage(obj){
          if(obj){
              if(obj.image){
                 return <Thumbnail source={obj.image.src}  alt={obj.body_html} />;
              }
              else{
                  return <div></div>;
              }
          }
      }
thumbnailImage ( obj ) { if ( obj ) { if ( obj . image ) { return < Thumbnail source = { obj . image . src } alt = { obj . body_html } / > ; } else { return < div > < / div > ; } } }
To show the thumbnail of the product in the resourcelist.
To show the thumbnail of the product in the resourcelist .