import Column from 'mastodon/components/column'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-component'; import ColumnHeader from 'mastodon/components/column_header'; import { Helmet } from 'react-helmet'; 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);