2017-03-22 17:36:34 +01:00
|
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
import DisplayName from '../../../components/display_name';
|
|
|
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
|
|
|
|
|
|
const AutosuggestStatus = ({ status }) => (
|
2017-04-23 04:26:55 +02:00
|
|
|
<div className='autosuggest-status'>
|
2017-03-22 17:36:34 +01:00
|
|
|
<FormattedMessage id='search.status_by' defaultMessage='Status by {name}' values={{ name: <strong>@{status.getIn(['account', 'acct'])}</strong> }} />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
|
|
|
|
AutosuggestStatus.propTypes = {
|
|
|
|
status: ImmutablePropTypes.map.isRequired
|
|
|
|
};
|
|
|
|
|
|
|
|
export default AutosuggestStatus;
|