text: import './VideoItem.css'
  import React from 'react';
  
  const VideoItem = ({video, onVideoSelect}) => {
      return (
      <div onClick={() => onVideoSelect(video)} className="video-item item">
          <img className="ui image" alt="Video" src={video.snippet.thumbnails.medium.url}></img>
          <div className="content">
              <div className="header">
                  {video.snippet.title}
              </div>
          </div>
      </div>
      )
  }
  
  export default VideoItem;