]>
cat aescling's git repositories - mastodon.git/blob - app/javascript/mastodon/features/compose/components/autosuggest_account.js
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';
7 class AutosuggestAccount
extends ImmutablePureComponent
{
10 account: ImmutablePropTypes
.map
.isRequired
,
14 const { account
} = this.props
;
17 <div className
='autosuggest-account'>
18 <div className
='autosuggest-account-icon'><Avatar src
={account
.get('avatar')} staticSrc
={account
.get('avatar_static')} size
={18} /></div>
19 <DisplayName account
={account
} />
26 export default AutosuggestAccount
;
This page took 0.124297 seconds and 4 git commands to generate.