hotkeys-modal-bottom-text.js 644 B

1234567891011121314151617181920
  1. import { Trans } from 'react-i18next'
  2. import * as eventTracking from '../../../infrastructure/event-tracking'
  3. export default function HotkeysModalBottomText() {
  4. return (
  5. <div className="hotkeys-modal-bottom-text">
  6. <Trans
  7. i18nKey="a_more_comprehensive_list_of_keyboard_shortcuts"
  8. components={[
  9. // eslint-disable-next-line jsx-a11y/anchor-has-content, react/jsx-key
  10. <a
  11. onClick={() => eventTracking.sendMB('left-menu-hotkeys-template')}
  12. href="/articles/overleaf-keyboard-shortcuts/qykqfvmxdnjf"
  13. target="_blank"
  14. />,
  15. ]}
  16. />
  17. </div>
  18. )
  19. }