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

from the Archive Topics - من مواضيع الارشيف

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