mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
16 lines
563 B
React
16 lines
563 B
React
|
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;
|