2020-03-14 17:07:36 +01:00
|
|
|
// @flow
|
|
|
|
import React from 'react';
|
|
|
|
import DateTime from 'component/dateTime';
|
|
|
|
import FileViewCount from 'component/fileViewCount';
|
2020-09-30 22:46:20 +02:00
|
|
|
import FileActions from 'component/fileActions';
|
2020-03-14 17:07:36 +01:00
|
|
|
|
|
|
|
type Props = {
|
|
|
|
uri: string,
|
|
|
|
};
|
|
|
|
|
|
|
|
function FileSubtitle(props: Props) {
|
2021-03-23 17:20:35 +01:00
|
|
|
const { uri } = props;
|
2020-03-14 17:07:36 +01:00
|
|
|
|
|
|
|
return (
|
|
|
|
<div className="media__subtitle--between">
|
2020-09-30 22:46:20 +02:00
|
|
|
<div className="file__viewdate">
|
2021-03-23 17:20:35 +01:00
|
|
|
<DateTime uri={uri} show={DateTime.SHOW_DATE} />
|
|
|
|
<FileViewCount uri={uri} />
|
2020-09-30 22:46:20 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<FileActions uri={uri} />
|
2020-03-14 17:07:36 +01:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default FileSubtitle;
|