Create hotkeys-modal-bottom-text.jsx
This commit is contained in:
parent
6c9dee3cad
commit
e3abde0271
1 changed files with 20 additions and 0 deletions
20
overleafserver/hotkeys-modal-bottom-text.jsx
Normal file
20
overleafserver/hotkeys-modal-bottom-text.jsx
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
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>
|
||||||
|
)
|
||||||
|
}
|
Loading…
Reference in a new issue