help-documentation.tsx 514 B

12345678910111213141516171819202122
  1. import { useTranslation } from 'react-i18next'
  2. import LeftMenuButton from './left-menu-button'
  3. import { bsVersionIcon } from '@/features/utils/bootstrap-5'
  4. export default function HelpDocumentation() {
  5. const { t } = useTranslation()
  6. return (
  7. <>
  8. <LeftMenuButton
  9. type="link"
  10. href="/learn"
  11. icon={bsVersionIcon({
  12. bs5: { type: 'book_4' },
  13. bs3: { type: 'book', fw: true },
  14. })}
  15. >
  16. {t('documentation')}
  17. </LeftMenuButton>
  18. </>
  19. )
  20. }