import Channel from './Channel';
-const Channels = ({ channels }) =>
- <div className="episode-channels text-right">
- {channels.map(channel =>
- <Channel channel={channel} key={channel.id} />
- )}
- </div>;
+const Channels = ({ channels, episode, onEditRestream }) =>
+ channels.map(channel =>
+ <Channel
+ channel={channel}
+ episode={episode}
+ key={channel.id}
+ onEditRestream={onEditRestream}
+ />
+ );
Channels.propTypes = {
channels: PropTypes.arrayOf(PropTypes.shape({
})),
+ episode: PropTypes.shape({
+ }),
+ onEditRestream: PropTypes.func,
};
export default Channels;