frontend/src/components/VideoItem.js

22 lines
530 B
JavaScript
Raw Normal View History

import React from 'react';
import PropTypes from 'prop-types';
class VideoItem extends React.Component {
render() {
return (
<section className="video-item">
<section className="video-thumbnail-container">
<img className="video-thumbnail" src={require('../assets/images/img2.png')} alt=""/>
</section>
<h3 className="video-title">Random Title</h3>
</section>
)
}
}
VideoItem.propTypes = {
id: PropTypes.string,
title: PropTypes.string,
}
export default (VideoItem);