// @flow import * as React from 'react'; import { normalizeURI } from 'lbry-redux'; import FileViewerInitiator from 'component/fileViewerInitiator'; import FilePrice from 'component/filePrice'; import FileDetails from 'component/fileDetails'; import FileAuthor from 'component/fileAuthor'; import FileActions from 'component/fileActions'; import DateTime from 'component/dateTime'; import RecommendedContent from 'component/recommendedContent'; import CommentsList from 'component/commentsList'; import CommentCreate from 'component/commentCreate'; import ClaimUri from 'component/claimUri'; import FileViewCount from 'component/fileViewCount'; export const FILE_WRAPPER_CLASS = 'grid-area--content'; type Props = { claim: StreamClaim, fileInfo: FileListItem, uri: string, claimIsMine: boolean, costInfo: ?{ cost: number }, balance: number, title: string, nsfw: boolean, }; function LayoutWrapperFile(props: Props) { const { claim, uri, claimIsMine, costInfo, balance, title, nsfw } = props; const insufficientCredits = !claimIsMine && costInfo && costInfo.cost > balance; return (
{nsfw && {__('Mature')}}

{title}



{__('Comments')}
); } export default LayoutWrapperFile;