hometown/app/assets/javascripts/components/features/compose/components/autosuggest_account.jsx
2016-11-12 14:36:10 +01:00

12 lines
391 B
JavaScript

import Avatar from '../../../components/avatar';
import DisplayName from '../../../components/display_name';
const AutosuggestAccount = ({ account }) => (
<div style={{ overflow: 'hidden' }}>
<div style={{ float: 'left', marginRight: '5px' }}><Avatar src={account.get('avatar')} size={18} /></div>
<DisplayName account={account} />
</div>
);
export default AutosuggestAccount;