2023-05-07 10:10:58 +03:00
|
|
|
import { Icon } from './icon';
|
|
|
|
|
2023-05-09 04:11:56 +03:00
|
|
|
interface Props {
|
2023-05-07 10:10:58 +03:00
|
|
|
link: string;
|
2023-05-09 04:11:56 +03:00
|
|
|
}
|
2023-05-07 10:10:58 +03:00
|
|
|
export const VerifiedBadge: React.FC<Props> = ({ link }) => (
|
|
|
|
<span className='verified-badge'>
|
|
|
|
<Icon id='check' className='verified-badge__mark' />
|
|
|
|
<span dangerouslySetInnerHTML={{ __html: link }} />
|
|
|
|
</span>
|
|
|
|
);
|