The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
566 B

  1. import Avatar from '../../../components/avatar';
  2. import DisplayName from '../../../components/display_name';
  3. import ImmutablePropTypes from 'react-immutable-proptypes';
  4. const AutosuggestAccount = ({ account }) => (
  5. <div className='autosuggest-account'>
  6. <div className='autosuggest-account-icon'><Avatar src={account.get('avatar')} staticSrc={account.get('avatar_static')} size={18} /></div>
  7. <DisplayName account={account} />
  8. </div>
  9. );
  10. AutosuggestAccount.propTypes = {
  11. account: ImmutablePropTypes.map.isRequired
  12. };
  13. export default AutosuggestAccount;