FiveEightyEight / TeamTwo_YTube

Single-page web app that uses the YouTube API
0 stars 0 forks source link

Vertical card #39

Closed FiveEightyEight closed 5 years ago

FiveEightyEight commented 5 years ago

A simple vertical card component. Accepts a video thumbnail URL, video title, channel name, published on, and an onClick handle.

Passing props example:

<VVideoCard img={obj.thumbnails.medium.url} title={obj.videoTitle} channel={obj.channelTitle} published={obj.publishedAt} handleVideoOnClick={props.handleVideoOnClick}/>

Prop Keys: