1 import PropTypes from 'prop-types';
2 import React from 'react';
4 import Channel from './Channel';
6 const Channels = ({ channels, episode, onEditRestream }) =>
7 channels.map(channel =>
12 onEditRestream={onEditRestream}
16 Channels.propTypes = {
17 channels: PropTypes.arrayOf(PropTypes.shape({
19 episode: PropTypes.shape({
21 onEditRestream: PropTypes.func,
24 export default Channels;