The code powering m.abunchtell.com https://m.abunchtell.com
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
717 B

  1. import React from 'react';
  2. import Avatar from '../../../components/avatar';
  3. import DisplayName from '../../../components/display_name';
  4. import ImmutablePropTypes from 'react-immutable-proptypes';
  5. import ImmutablePureComponent from 'react-immutable-pure-component';
  6. export default class AutosuggestAccount extends ImmutablePureComponent {
  7. static propTypes = {
  8. account: ImmutablePropTypes.map.isRequired,
  9. };
  10. render () {
  11. const { account } = this.props;
  12. return (
  13. <div className='autosuggest-account' title={account.get('acct')}>
  14. <div className='autosuggest-account-icon'><Avatar account={account} size={18} /></div>
  15. <DisplayName account={account} />
  16. </div>
  17. );
  18. }
  19. }