// @flow import React from 'react'; import DateTime from 'component/dateTime'; import FileViewCount from 'component/fileViewCount'; import FileActions from 'component/fileActions'; type Props = { uri: string, livestream?: boolean, activeViewers?: number, }; function FileSubtitle(props: Props) { const { uri, livestream = false, activeViewers = 0 } = props; return (
{livestream ? {__('Right now')} : } {livestream ? ( {__('%viewer_count% currently watching', { viewer_count: activeViewers })} ) : ( )}
); } export default FileSubtitle;