overleaf/services/web/frontend/js/features/editor-left-menu/components/help-documentation.tsx
Rebeka Dekany f8efc3e2ae Merge pull request #20740 from overleaf/rd-ide-offcanvas
[web] Implement the editor's left menu in Offcanvas

GitOrigin-RevId: 999e995d664b1dc958f56643f05e95b8aa2d6290
2024-10-14 11:09:31 +00:00

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>
</>
)
}