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 'soapbox/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 (
|
x |
|
h |
|
up, k |
|
down, j |
|
n |
|
alt + n |
|
backspace |
|
s |
|
esc |
|
|
g + h |
|
g + n |
|
g + f |
|
g + p |
|
g + u |
|
g + b |
|
g + m |
|
g + r |
|
? |
|
);
}
}