insomnia/app/ui/components/base/dropdown/dropdown-hint.js
Gregory Schier f76e382387 Revamp Keyboard Shortcuts (#487)
* More shortcuts and accessibility tweaks

* Use hotkey objects everywhere

* A few last-minute tweaks
2017-09-17 16:04:56 +02:00

22 lines
422 B
JavaScript

// @flow
import React, {PureComponent} from 'react';
import type {Hotkey as HotkeyType} from '../../../../common/hotkeys';
import Hotkey from '../../hotkey';
type Props = {
hotkey: HotkeyType,
};
class DropdownHint extends PureComponent {
props: Props;
render () {
const {hotkey} = this.props;
return (
<Hotkey className="dropdown__hint" hotkey={hotkey}/>
);
}
}
export default DropdownHint;