// @flow import React from 'react'; import DateTime from 'component/dateTime'; import FileViewCount from 'component/fileViewCount'; import FileActions from 'component/fileActions'; import ClaimPreviewReset from 'component/claimPreviewReset'; type Props = { uri: string, livestream?: boolean, isLive?: boolean, }; function FileSubtitle(props: Props) { const { uri, livestream = false, isLive = false } = props; const showDateTime = !livestream || (livestream && !isLive); return ( <>
{showDateTime && }
{livestream && isLive && } ); } export default FileSubtitle;