24 lines
464 B
JavaScript
24 lines
464 B
JavaScript
// @flow
|
|
import React from 'react';
|
|
import FileViewCount from 'component/fileViewCount';
|
|
import FileActions from 'component/fileActions';
|
|
|
|
type Props = {
|
|
uri: string,
|
|
};
|
|
|
|
function FileSubtitle(props: Props) {
|
|
const { uri } = props;
|
|
|
|
return (
|
|
<div className="media__subtitle--between">
|
|
<div className="file__viewdate">
|
|
<FileViewCount uri={uri} />
|
|
</div>
|
|
|
|
<FileActions uri={uri} />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default FileSubtitle;
|