import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import users from '../../users'; import IconFromUserType from './IconFromUserType'; const Result = ({ userId, isSelected }) => (
{users.byId[userId].value}
); Result.propTypes = { userId: PropTypes.string.isRequired, isSelected: PropTypes.bool.isRequired, }; export default Result;