const React = require('react'); const Tooltip = require('@ui/components/tooltip'); const tooltipStyle = { position: 'absolute', top: '30px', zIndex: 1 }; const arrowPosition = { bottom: '100%', right: '10%' }; module.exports = ({ handleSelect, person = {}, options = [], }) => { const _options = options.map( (option, i) => { const _onClick = () => handleSelect({ ...person, role: option }); return (
  • {option}
  • ); }); return ( {_options} ); }; module.exports.propTypes = { handleSelect: React.PropTypes.func, options: React.PropTypes.array, person: React.PropTypes.object, };