// @flow import * as React from 'react'; import { normalizeURI } from 'lbry-redux'; import FilePrice from 'component/filePrice'; import FileAuthor from 'component/fileAuthor'; import FileThumbnail from 'component/fileThumbnail'; import FileViewCount from 'component/fileViewCount'; import FileActions from 'component/fileActions'; import TextViewer from 'component/textViewer'; import DateTime from 'component/dateTime'; import RecommendedContent from 'component/recommendedContent'; import CommentsList from 'component/commentsList'; import CommentCreate from 'component/commentCreate'; import MarkdownPreview from 'component/common/markdown-preview'; import ClaimUri from 'component/claimUri'; import FileViewerInitiator from 'component/fileViewerInitiator'; type Props = { uri: string, metadata: StreamMetadata, title: string, nsfw: boolean, claim: StreamClaim, thumbnail: ?string, }; function LayoutWrapperDocument(props: Props) { const { uri, claim, metadata, title, nsfw, thumbnail } = props; const { description } = metadata; return (
{nsfw && {__('Mature')}}

{title}



{/* Render the initiator to trigger the view of the file */}

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