import React from 'react'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-component'; import IconButton from 'gabsocial/components/icon_button'; const messages = defineMessages({ close: { id: 'lightbox.close', defaultMessage: 'Close' }, }); export default @injectIntl class HotkeysModal extends ImmutablePureComponent { static propTypes = { intl: PropTypes.object.isRequired, onClose: PropTypes.func.isRequired, }; render () { const { intl, onClose } = this.props; return (

r
m
p
f
b
enter, o
x
h
up, k
down, j
1 - 9
n
alt + n
backspace
s
esc
g + h
g + n
g + d
g + s
g + f
g + p
g + u
g + b
g + m
g + r
?
); } }