diff options
Diffstat (limited to 'app/assets/javascripts/components/features/compose/components/autosuggest_account.jsx')
-rw-r--r-- | app/assets/javascripts/components/features/compose/components/autosuggest_account.jsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/features/compose/components/autosuggest_account.jsx b/app/assets/javascripts/components/features/compose/components/autosuggest_account.jsx new file mode 100644 index 000000000..9ea7f190f --- /dev/null +++ b/app/assets/javascripts/components/features/compose/components/autosuggest_account.jsx @@ -0,0 +1,11 @@ +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; |