The code powering m.abunchtell.com https://m.abunchtell.com
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

17 行
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;