import Grid from 'react-css-grid' import React from 'react'; import PropTypes from 'prop-types'; import VideoItem from "./VideoItem"; import SectionHeading from "./SectionHeading"; import {Link} from 'react-router-dom'; class RandomTopic extends React.Component { render() { return (
{this.props.videos.map(video => )} See All Topics See All videos of {this.props.topicName} ({this.props.topicCount})
) } } RandomTopic.propTypes = { topicName: PropTypes.string, videos: PropTypes.array, loading: PropTypes.bool, topicCount: PropTypes.number }; export default (RandomTopic);