1 import PropTypes from 'prop-types';
2 import React from 'react';
3 import { Button } from 'react-bootstrap';
5 import Icon from '../common/Icon';
7 const Channel = ({ channel }) =>
8 <div className="episode-channel">
10 href={channel.stream_link}
14 variant="outline-twitch"
18 {channel.short_name || channel.title}
23 channel: PropTypes.shape({
24 short_name: PropTypes.string,
25 stream_link: PropTypes.string,
26 title: PropTypes.string,
30 export default Channel;