mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-15 14:50:55 -05:00
f8efc3e2ae
[web] Implement the editor's left menu in Offcanvas GitOrigin-RevId: 999e995d664b1dc958f56643f05e95b8aa2d6290
22 lines
514 B
TypeScript
22 lines
514 B
TypeScript
import { useTranslation } from 'react-i18next'
|
|
import LeftMenuButton from './left-menu-button'
|
|
import { bsVersionIcon } from '@/features/utils/bootstrap-5'
|
|
|
|
export default function HelpDocumentation() {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<>
|
|
<LeftMenuButton
|
|
type="link"
|
|
href="/learn"
|
|
icon={bsVersionIcon({
|
|
bs5: { type: 'book_4' },
|
|
bs3: { type: 'book', fw: true },
|
|
})}
|
|
>
|
|
{t('documentation')}
|
|
</LeftMenuButton>
|
|
</>
|
|
)
|
|
}
|