latex-ub/services/web/frontend/js/features/hotkeys-modal/components/hotkeys-modal-bottom-text.jsx
2025-05-05 12:24:05 +00:00

20 lines
675 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="https://www.overleaf.com/latex/templates/overleaf-keyboard-shortcuts/pphdnzrwmttk"
target="_blank"
/>,
]}
/>
</div>
)
}