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

15 lines
307 B
JavaScript
Raw Normal View History

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