import React from 'react';

const VideoListItem = (props) => {
  const video = props.video;

  return (
    <li>{video.snippet.title}</li>
  );
};

export default VideoListItem;

import React from 'react';

const VideoListItem = ({video}) => {
  return (
    <li>{video.snippet.title}</li>
  );
};

export default VideoListItem;

Use ES6 syntax to read video from props.
Use ES6 syntax to read video from props.
