// @flow import * as React from 'react'; import { normalizeURI } from 'lbry-redux'; import FilePrice from 'component/filePrice'; import ClaimInsufficientCredits from 'component/claimInsufficientCredits'; import FileSubtitle from 'component/fileSubtitle'; import FileAuthor from 'component/fileAuthor'; import Card from 'component/common/card'; import * as ICONS from 'constants/icons'; import Icon from 'component/common/icon'; import I18nMessage from 'component/i18nMessage'; import Button from 'component/button'; import * as PAGES from 'constants/pages'; import FileDescription from 'component/fileDescription'; type Props = { uri: string, title: string, nsfw: boolean, isNsfwBlocked: boolean, }; function FileTitleSection(props: Props) { const { title, uri, nsfw, isNsfwBlocked } = props; return ( {title} {nsfw && ( {__('Mature')} )} } titleActions={} body={ } actions={ isNsfwBlocked ? (

{__('Mature content blocked.')}

), }} > Change this in your %content_settings%.
) : (
) } /> ); } export default FileTitleSection;