X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fepisodes%2FChannels.js;h=f3fbf05544218781f714446a640cbcfa8d34dd7b;hb=13ffde5b2abcf831af9c794044350737066c5933;hp=fb1014779f6257e69d3e7435aa511c2b154e1918;hpb=15132749249f6418fd5695547b5c323a0ad10939;p=alttp.git diff --git a/resources/js/components/episodes/Channels.js b/resources/js/components/episodes/Channels.js index fb10147..f3fbf05 100644 --- a/resources/js/components/episodes/Channels.js +++ b/resources/js/components/episodes/Channels.js @@ -3,16 +3,22 @@ import React from 'react'; import Channel from './Channel'; -const Channels = ({ channels }) => -
- {channels.map(channel => - - )} -
; +const Channels = ({ channels, episode, onEditRestream }) => + channels.map(channel => + + ); Channels.propTypes = { channels: PropTypes.arrayOf(PropTypes.shape({ })), + episode: PropTypes.shape({ + }), + onEditRestream: PropTypes.func, }; export default Channels;