mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
22 lines
479 B
TypeScript
22 lines
479 B
TypeScript
|
import { useTranslation } from 'react-i18next'
|
||
|
import DownloadPDF from './download-pdf'
|
||
|
import DownloadSource from './download-source'
|
||
|
|
||
|
export default function DownloadMenu() {
|
||
|
const { t } = useTranslation()
|
||
|
|
||
|
return (
|
||
|
<>
|
||
|
<h4 className="mt-0">{t('download')}</h4>
|
||
|
<ul className="list-unstyled nav nav-downloads text-center">
|
||
|
<li>
|
||
|
<DownloadSource />
|
||
|
</li>
|
||
|
<li>
|
||
|
<DownloadPDF />
|
||
|
</li>
|
||
|
</ul>
|
||
|
</>
|
||
|
)
|
||
|
}
|