import PropTypes from 'prop-types'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import { Helmet } from 'react-helmet'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { ReactComponent as InfoIcon } from '@material-symbols/svg-600/outlined/info.svg'; import Column from 'mastodon/components/column'; import ColumnHeader from 'mastodon/components/column_header'; const messages = defineMessages({ heading: { id: 'keyboard_shortcuts.heading', defaultMessage: 'Keyboard Shortcuts' }, }); class KeyboardShortcuts extends ImmutablePureComponent { static propTypes = { intl: PropTypes.object.isRequired, multiColumn: PropTypes.bool, }; render () { const { intl, multiColumn } = this.props; return (
r
m
p
f
b
enter, o
e
x
h
up, k
down, j
1-9
n
alt+n
alt+x
backspace
s
esc
g+h
g+n
g+l
g+t
g+d
g+s
g+f
g+p
g+u
g+b
g+m
g+r
?
); } } export default injectIntl(KeyboardShortcuts);