import Grid from 'react-css-grid' import React from 'react'; import PropTypes from 'prop-types'; import VideoItem from "./VideoItem"; import RandomItemTitle from "./SectionHeading"; import {Link} from 'react-router-dom'; class RandomTopic extends React.Component { shuffleTopic() { this.props.getRandomTopicVideos(this.props.allTopics); } render() { return (

من مواضيع الارشيف
{/*topics from the Archive */} topics from the archive

{/* View all topics button*/} {/* Shuffle button */} {this.props.videos.map(video => )}
) } } RandomTopic.propTypes = { topicName: PropTypes.string, allTopics: PropTypes.array, videos: PropTypes.array, loading: PropTypes.bool, topicCount: PropTypes.number, getRandomTopicVideos: PropTypes.func }; export default (RandomTopic);