mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
8452e8b777
* Fixed duplication kve bug * Some changes * Add proptypes linting * Fixed proptypes even more * Filename linting
18 lines
383 B
JavaScript
18 lines
383 B
JavaScript
import React, {PropTypes, PureComponent} from 'react';
|
|
import {MOD_SYM} from '../../../../common/constants';
|
|
|
|
class DropdownHint extends PureComponent {
|
|
render () {
|
|
const {char} = this.props;
|
|
return (
|
|
<span className="dropdown__hint">{MOD_SYM}{char}</span>
|
|
);
|
|
}
|
|
}
|
|
|
|
DropdownHint.propTypes = {
|
|
char: PropTypes.string.isRequired
|
|
};
|
|
|
|
export default DropdownHint;
|