overleaf/services/web/frontend/js/features/editor-left-menu/components/help-documentation.tsx
M Fahru a30e934692 Migrate "help menu" in editor left menu to react
GitOrigin-RevId: 7ebbfa693205de1f57b1d54e25c46cfb1851acc8
2022-11-03 09:03:49 +00:00

21 lines
404 B
TypeScript

import { useTranslation } from 'react-i18next'
import LeftMenuButton from './left-menu-button'
export default function HelpDocumentation() {
const { t } = useTranslation()
return (
<>
<LeftMenuButton
type="link"
href="/learn"
icon={{
type: 'book',
fw: true,
}}
>
{t('documentation')}
</LeftMenuButton>
</>
)
}