// @flow import React from 'react'; import type { ChannelInfoType } from 'shared/graphql/fragments/channel/channelInfo'; import { ChannelActions } from './components/channelActions'; import { ChannelMeta } from './components/channelMeta'; import { ChannelCommunityMeta } from './components/channelCommunityMeta'; import { ProfileContainer } from './style'; type Props = { channel: ChannelInfoType, hideActions?: boolean, hideCommunityMeta?: boolean, }; export const ChannelProfileCard = (props: Props) => { const { channel, hideActions, hideCommunityMeta } = props; return ( {!hideCommunityMeta && } {!hideActions ? ( ) : (
)} ); };