// @flow import React from 'react'; type Props = { claim: ?ChannelClaim, title: ?string, }; function ChannelTitle(props: Props) { const { title, claim } = props; if (!claim) { return null; } return
{title || claim.name}
; } export default ChannelTitle;