You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
563 B
16 lines
563 B
import { FormattedMessage } from 'react-intl';
|
|
import DisplayName from '../../../components/display_name';
|
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
|
|
const AutosuggestStatus = ({ status }) => (
|
|
<div style={{ overflow: 'hidden' }} className='autosuggest-status'>
|
|
<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;
|