insomnia/app/ui/components/base/dropdown/DropdownHint.js

18 lines
382 B
JavaScript
Raw Normal View History

import React, {PropTypes, PureComponent} from 'react';
2016-11-11 22:01:21 +00:00
import {MOD_SYM} from '../../../../common/constants';
2016-07-21 21:55:03 +00:00
class DropdownHint extends PureComponent {
render () {
const {char} = this.props;
return (
<span className="dropdown__hint">{MOD_SYM}{char}</span>
)
}
}
2016-07-21 21:55:03 +00:00
DropdownHint.propTypes = {
char: PropTypes.string.isRequired
};
export default DropdownHint;