// @flow import * as React from 'react'; import { ChannelContainer, ChannelNameLink, ChannelName, ChannelActions, } from './style'; import type { ChannelInfoType } from 'shared/graphql/fragments/channel/channelInfo'; type Props = { children: React$Node, channel: ChannelInfoType, }; class ChannelListItem extends React.Component { render() { const { channel, children } = this.props; return ( {channel.name} {children && {children}} ); } } export default ChannelListItem;