mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
f76e382387
* More shortcuts and accessibility tweaks * Use hotkey objects everywhere * A few last-minute tweaks
22 lines
422 B
JavaScript
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;
|