mirror of
https://github.com/Kong/insomnia
synced 2024-11-12 17:26:32 +00:00
18 lines
396 B
JavaScript
18 lines
396 B
JavaScript
// @flow
|
|
import * as React from 'react';
|
|
import type { Hotkey as HotkeyType } from '../../../../common/hotkeys';
|
|
import Hotkey from '../../hotkey';
|
|
|
|
type Props = {
|
|
hotkey: HotkeyType,
|
|
};
|
|
|
|
class DropdownHint extends React.PureComponent<Props> {
|
|
render() {
|
|
const { hotkey } = this.props;
|
|
return <Hotkey className="dropdown__hint" hotkey={hotkey} />;
|
|
}
|
|
}
|
|
|
|
export default DropdownHint;
|