overleaf/services/web/frontend/js/features/hotkeys-modal/components/hotkeys-modal-bottom-text.js
Jimmy Domagala-Tang b2e74464a2 Merge pull request #14207 from overleaf/jdt-editor-events
editor events

GitOrigin-RevId: 8d74576d4f8117ecca47402afcc9cee229dd0dca
2023-08-23 08:05:23 +00:00

20 lines
644 B
JavaScript

import { Trans } from 'react-i18next'
import * as eventTracking from '../../../infrastructure/event-tracking'
export default function HotkeysModalBottomText() {
return (
<div className="hotkeys-modal-bottom-text">
<Trans
i18nKey="a_more_comprehensive_list_of_keyboard_shortcuts"
components={[
// eslint-disable-next-line jsx-a11y/anchor-has-content, react/jsx-key
<a
onClick={() => eventTracking.sendMB('left-menu-hotkeys-template')}
href="/articles/overleaf-keyboard-shortcuts/qykqfvmxdnjf"
target="_blank"
/>,
]}
/>
</div>
)
}