import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import SearchIcon from 'react-icons/lib/md/search'; import IconFromUserType from './IconFromUserType'; import Result from './Result'; const userShape = { value: PropTypes.string.isRequired, type: PropTypes.string.isRequired, }; const Search = ({ onInputChange, onFocus, onBlur, hasFocus, value, results, exactMatch, }) => (