2020-03-27 13:59:38 -07:00
|
|
|
import React from 'react';
|
2022-03-05 11:16:11 -08:00
|
|
|
import { useIntl, defineMessages } from 'react-intl';
|
2020-03-27 13:59:38 -07:00
|
|
|
|
2022-03-05 11:16:11 -08:00
|
|
|
import Icon from 'soapbox/components/icon';
|
|
|
|
|
|
|
|
const messages = defineMessages({
|
|
|
|
verified: { id: 'account.verified', defaultMessage: 'Verified Account' },
|
|
|
|
});
|
|
|
|
|
|
|
|
const VerificationBadge = () => {
|
|
|
|
const intl = useIntl();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<span className='verified-icon'>
|
|
|
|
<Icon src={require('icons/verified.svg')} alt={intl.formatMessage(messages.verified)} />
|
|
|
|
</span>
|
|
|
|
);
|
|
|
|
};
|
2020-03-27 13:59:38 -07:00
|
|
|
|
|
|
|
export default VerificationBadge;
|