Closed FiveEightyEight closed 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:
A simple vertical card component. Accepts a video thumbnail URL, video title, channel name, published on, and an onClick handle.
Passing props example:
Prop Keys: